From 762c2e181931b1343f08371c93ba587b93ce25c7 Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 15 Jun 2024 20:20:57 +0200 Subject: [PATCH] Added generic request to SDK --- src/sdk.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sdk.ts b/src/sdk.ts index 222a4c0..29787fa 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -628,5 +628,6 @@ export const getPayloadSDK = ({ await request(payloadApiUrl(Collections.Videos, `id/${id}`)), getRecorderByID: async (id: string): Promise => await request(payloadApiUrl(Collections.Recorders, `id/${id}`)), + request: async (url: string): Promise => await request(url), }; };