1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Update comment

This commit is contained in:
Jake Barnby 2023-04-12 02:59:45 +12:00
parent 71b96452c6
commit 26eaddee82
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -1168,7 +1168,7 @@ App::setResource('schema', function ($utopia, $dbForProject) {
}, ['utopia', 'dbForProject']);
App::setResource('requestTimestamp', function ($request) {
// Validate x-appwrite-timestamp header
//TODO: Move this to the Request class itself
$timestampHeader = $request->getHeader('x-appwrite-timestamp');
$requestTimestamp = null;
if (!empty($timestampHeader)) {