This commit is contained in:
mcndave committed 2025-02-04 08:46:58 -05:00
commit 583580e068
4 files changed
+12 -17

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ return [
return function(array $errorData) {
return HttpFactory::createJsonResponse($errorData + [
'api.error' => "Authorization failed",
'api.datetime' => (new \DateTime)->format(\DateTime::ATOM),
], 401);
'api.datetime' => (new \DateTime)->format(\DateTime::ISO8601),
], 403);
};
},