1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

feat: review comments

This commit is contained in:
Christy Jacob 2022-08-09 10:54:17 +05:30
parent 4bced29ec9
commit 7e470d2cb5

View file

@ -319,7 +319,7 @@ App::init()
], true);
$sdk = $request->getHeader('x-sdk-version', 'UNKNOWN');
$sdk = explode(':', $sdk)[1] ?? 'UNKNOWN';
$sdk = explode(':', $sdk)[1] ?? '';
if ($sdkValidator->isValid($sdk)) {
$sdks = $key->getAttribute('sdks', []);