From 66e339479d47c54deb83a6c0e589d62094b492e3 Mon Sep 17 00:00:00 2001 From: Thomas Grahl Date: Thu, 23 Nov 2023 22:49:57 +0100 Subject: [PATCH] Update APIResponse.inc There was a minimal typo in response message 9: "... JWT or API ..." --- pfSense-pkg-API/files/etc/inc/api/framework/APIResponse.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfSense-pkg-API/files/etc/inc/api/framework/APIResponse.inc b/pfSense-pkg-API/files/etc/inc/api/framework/APIResponse.inc index b56faab90..cb0c32a84 100644 --- a/pfSense-pkg-API/files/etc/inc/api/framework/APIResponse.inc +++ b/pfSense-pkg-API/files/etc/inc/api/framework/APIResponse.inc @@ -77,7 +77,7 @@ function get($id, $data=[], $all=false) { "status" => "forbidden", "code" => 403, "return" => $id, - "message" => "Authentication mode must be set to JWT ot API Token to enable access token authentication", + "message" => "Authentication mode must be set to JWT or API Token to enable access token authentication", ], 10 => [ "status" => "server error",