Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadit19 committed Sep 12, 2024
1 parent 3fe19b8 commit 03d0e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ expresso::core::Server::makeRequest(std::string &request) noexcept(false) {

if (req.method == expresso::enums::method::GET ||
req.method == expresso::enums::method::HEAD) {
return;
return req;
}

// Setting the body
Expand Down

0 comments on commit 03d0e74

Please sign in to comment.