Skip to content

Commit bef1f06

Browse files
authored
Merge pull request #6297 from keboola/devin/DMD-613-1761050115
DMD-613 add isBYODB flag to token verification endpoint
2 parents 19392a3 + d78f0ff commit bef1f06

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

apiary.apib

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ the [Verify call](#reference/tokens-and-permissions/token/token-verification).
392392
"refreshed": "2017-11-13T16:48:28+0100",
393393
"uri": "https://connection-devel.keboola.com/v2/storage/tokens/44",
394394
"isMasterToken": false,
395+
"isBYODB": false,
395396
"canReadAllFileUploads": false,
396397
"canPurgeTrash": false,
397398
"expires": null,
@@ -438,6 +439,7 @@ the [Verify call](#reference/tokens-and-permissions/token/token-verification).
438439
"refreshed": "2017-11-13T16:48:28+0100",
439440
"uri": "https://connection-devel.keboola.com/v2/storage/tokens/44",
440441
"isMasterToken": false,
442+
"isBYODB": false,
441443
"canReadAllFileUploads": false,
442444
"canPurgeTrash": false,
443445
"expires": null,

src/Keboola/StorageApi/Client.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2309,7 +2309,6 @@ private function downloadGcsFile(array $fileInfo, string $destination): void
23092309
$object = $retBucket->object($fileInfo['gcsPath']['key']);
23102310
try {
23112311
$object->downloadToFile($destination);
2312-
// @phpstan-ignore-next-line catch.neverThrown
23132312
} catch (NotFoundException $e) {
23142313
throw new ClientException(
23152314
sprintf(self::ERROR_CANNOT_DOWNLOAD_FILE, $fileInfo['name'], $fileInfo['id']),

0 commit comments

Comments
 (0)