Merge branch 'master' of https://git.mcnd.ca/mcndave/lean
This commit is contained in:
commit
583580e068
4 files changed
+12
-17
No files matched your search
@@ -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);
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user