From 27f0c951ad9cf54b52ec328c53aa9964eea75f72 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sun, 4 Jul 2021 21:02:24 -0700 Subject: [PATCH] :bug: typo --- src/json_filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/json_filter.cpp b/src/json_filter.cpp index 6b7b564..42c96df 100644 --- a/src/json_filter.cpp +++ b/src/json_filter.cpp @@ -11,7 +11,7 @@ void JsonFilter::doFilter(const HttpRequestPtr &req, std::string_view content_type = req->getHeader("content-type"); std::string_view accept_header = req->getHeader("Accept"); - if (content_type == "applications/json" && (Contains(accept_header, "*/*") || Contains(accept_header, "application/json"))) + if (content_type == "application/json" && (Contains(accept_header, "*/*") || Contains(accept_header, "application/json"))) { fccb(); return;