Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jan 26, 2024
1 parent aca7fd3 commit f26a1c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ylt/thirdparty/cinatra/coro_http_connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class coro_http_connection

if (is_coro_exist) {
if (coro_handler) {
co_await(coro_handler)(request_, response_);
co_await coro_handler(request_, response_);
}
else {
response_.set_status(status_type::not_found);
Expand All @@ -238,7 +238,7 @@ class coro_http_connection
std::get<0>(pair))) {
auto coro_handler = std::get<1>(pair);
if (coro_handler) {
co_await(coro_handler)(request_, response_);
co_await coro_handler(request_, response_);
is_matched_regex_router = true;
}
}
Expand Down

0 comments on commit f26a1c0

Please sign in to comment.