1
0
Fork 0
mirror of synced 2024-07-04 14:10:33 +12:00

Update console

This commit is contained in:
Matej Bačo 2023-06-23 09:01:51 +02:00
parent cc06a4bdaa
commit 310d56490e
3 changed files with 5 additions and 4 deletions

@ -1 +1 @@
Subproject commit 4129413f128d356464f935ca466d9c147f72a0a0
Subproject commit fffdd221b9847cd929481263480d597668503a83

View file

@ -1458,7 +1458,8 @@ App::post('/v1/functions/:functionId/executions')
if ($record) {
$eu = Config::getParam('locale-eu');
$headers['x-appwrite-country-code'] = $record['country']['iso_code'] ?? '';;
$headers['x-appwrite-country-code'] = $record['country']['iso_code'] ?? '';
;
$headers['x-appwrite-continent-code'] = $record['continent']['code'] ?? '';
$headers['x-appwrite-continent-eu'] = (\in_array($record['country']['iso_code'], $eu)) ? 'true' : 'false';
}