1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00

Linter fix

This commit is contained in:
Matej Bačo 2023-10-27 10:33:08 +02:00
parent 94ff3baa9c
commit 740d9def8e
2 changed files with 3 additions and 3 deletions

View file

@ -124,7 +124,7 @@ function router(App $utopia, Database $dbForConsole, SwooleRequest $swooleReques
$cookieHeaders[] = "{$key}={$value}";
}
if(!empty($cookieHeaders)) {
if (!empty($cookieHeaders)) {
$swooleHeaders['cookie'] = \implode('; ', $cookieHeaders);
}

View file

@ -1405,9 +1405,9 @@ class FunctionsCustomServerTest extends Scope
// Wait a little for activation to finish
sleep(5);
$cookie = 'cookieName=cookieValue; cookie2=value2; cookie3=value=3; cookie4=value4';
$execution = $this->client->call(Client::METHOD_POST, '/functions/' . $functionId . '/executions', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],