Added generic request to SDK

This commit is contained in:
DrMint 2024-06-15 20:20:57 +02:00
parent 0ccf62aa8d
commit 762c2e1819
1 changed files with 1 additions and 0 deletions

View File

@ -628,5 +628,6 @@ export const getPayloadSDK = ({
await request(payloadApiUrl(Collections.Videos, `id/${id}`)),
getRecorderByID: async (id: string): Promise<EndpointRecorder> =>
await request(payloadApiUrl(Collections.Recorders, `id/${id}`)),
request: async (url: string): Promise<any> => await request(url),
};
};