Merge branch 'feat-graphql-support' of https://github.com/appwrite/appwrite into graphql

This commit is contained in:
Christy Jacob committed 2021-03-10 19:36:43 +05:30
commit f1a7e9092c
140 files changed
+1535 -885

No files matched your search

+2 -2
View File
@@ -207,8 +207,8 @@ App::get('/v1/users/:userId/sessions')
continue;
}
$token->setAttribute('countryName', (isset($countries[$token->getAttribute('contryCode')]))
? $countries[$token->getAttribute('contryCode')]
$token->setAttribute('countryName', (isset($countries[strtoupper($token->getAttribute('contryCode'))]))
? $countries[strtoupper($token->getAttribute('contryCode'))]
: $locale->getText('locale.country.unknown'));
$token->setAttribute('current', false);