From 2220ab80f843232521b05563e38ef6cb671dd931 Mon Sep 17 00:00:00 2001 From: abushev Date: Wed, 18 Dec 2024 15:57:22 +0300 Subject: [PATCH] mistype fix --- CRUD/handlers/crud_matcher_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRUD/handlers/crud_matcher_base.hpp b/CRUD/handlers/crud_matcher_base.hpp index fefb5c4..4ba0d69 100644 --- a/CRUD/handlers/crud_matcher_base.hpp +++ b/CRUD/handlers/crud_matcher_base.hpp @@ -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