mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update comment
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user