From e1283e8fae938c1957276564bf22c4ecf10cfd6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20=C4=8Eurech?= Date: Tue, 9 Jul 2024 13:10:39 +0200 Subject: [PATCH] Core: Fix #601: Support PATCH HTTP method --- src/PowerAuth/PublicTypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowerAuth/PublicTypes.cpp b/src/PowerAuth/PublicTypes.cpp index 7682cf37..d7062432 100644 --- a/src/PowerAuth/PublicTypes.cpp +++ b/src/PowerAuth/PublicTypes.cpp @@ -122,7 +122,7 @@ namespace powerAuth if (method.empty() || uri.empty()) { return false; } - if (!(method == "GET" || method == "POST" || method == "HEAD" || method == "PUT" || method == "DELETE")) { + if (!(method == "GET" || method == "POST" || method == "HEAD" || method == "PUT" || method == "DELETE" || method == "PATCH")) { return false; } if (!offlineNonce.empty()) {