Skip to content

Commit

Permalink
mistype fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abushev committed Dec 18, 2024
1 parent 2f56bce commit 2220ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRUD/handlers/crud_matcher_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ namespace http::crud {
_handlers["PUT"] = handler;
return *this;
}
crud_matcher_base & option(request_handler_type handler) {
_handlers["OPTION"] = handler;
crud_matcher_base & options(request_handler_type handler) {
_handlers["OPTIONS"] = handler;
return *this;
}
template<typename Request, typename Matched>
Expand Down

0 comments on commit 2220ab8

Please sign in to comment.