Added generic request to SDK
This commit is contained in:
parent
0ccf62aa8d
commit
762c2e1819
@ -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),
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user