mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: run linter
This commit is contained in:
@@ -314,9 +314,9 @@ App::init()
|
||||
if ($sdkValidator->isValid($sdk)) {
|
||||
$sdks = $key->getAttribute('sdks', []);
|
||||
if (!in_array($sdk, $sdks)) {
|
||||
array_push($sdks, $sdk);
|
||||
array_push($sdks, $sdk);
|
||||
$key->setAttribute('sdks', $sdks);
|
||||
|
||||
|
||||
/** Update access time as well */
|
||||
$key->setAttribute('accessedAt', time());
|
||||
$dbForConsole->updateDocument('keys', $key->getId(), $key);
|
||||
|
||||
@@ -420,7 +420,7 @@ App::get('/v1/mock/tests/general/headers')
|
||||
return $key . ': ' . $value;
|
||||
}, array_keys($res), $res);
|
||||
$res = implode("; ", $res);
|
||||
|
||||
|
||||
$response->dynamic(new Document(['result' => $res]), Response::MODEL_MOCK);
|
||||
});
|
||||
|
||||
|
||||
+1
-1
@@ -1008,4 +1008,4 @@ App::setResource('servers', function () {
|
||||
}, $server['languages']);
|
||||
|
||||
return $languages;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user