From c45f17fa1f414e49d92f9d0d4f4124c7385680c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 30 Oct 2022 11:33:38 +0100 Subject: [PATCH] fix api. --- client/src/api/api.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/api/api.ts b/client/src/api/api.ts index fff6e7d..43c000d 100644 --- a/client/src/api/api.ts +++ b/client/src/api/api.ts @@ -1297,9 +1297,8 @@ export const RoomsApiAxiosParamCreator = function (configuration?: Configuration roomSnapshot: async (roomId: string, options: AxiosRequestConfig = {}): Promise => { // verify required parameter 'roomId' is not null or undefined assertParamExists('roomSnapshot', 'roomId', roomId) - assertParamExists('roomSnapshot', 'name', name) - const localVarPath = `/api/rooms/{roomId}/snapshot/{name}` + const localVarPath = `/api/rooms/{roomId}/snapshot` .replace(`{${"roomId"}}`, encodeURIComponent(String(roomId))); // use dummy base URL string because the URL constructor only accepts absolute URLs. const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);