From dfe9728b033d74f25891cab02fc19a153f760896 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Thu, 11 May 2023 17:14:05 +0330 Subject: [PATCH] fix(storage-client): `get` return type --- core/storage-client/src/storage-client.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/core/storage-client/src/storage-client.ts b/core/storage-client/src/storage-client.ts index 8128be80a..150d5d61d 100644 --- a/core/storage-client/src/storage-client.ts +++ b/core/storage-client/src/storage-client.ts @@ -113,11 +113,11 @@ export class AlwatrStorageClient( documentId: string, storage: string | undefined = this.config.name, - ): Promise { + ): Promise { this._logger.logMethodArgs?.('get', {storage, documentId}); if (storage == null) throw new Error('storage_not_defined'); - const responseJson = await serviceRequest>({ + const responseJson = await serviceRequest>({ ...this.fetchOption, queryParameters: { storage, @@ -125,11 +125,6 @@ export class AlwatrStorageClient