support delete record file (#313)

* support delete record file

* fix
This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-08-23 19:58:59 -04:00
1 parent 9741e5601f
commit 72de9178a2
3 files changed
+148 -61

No files matched your search

+4
View File
@@ -685,6 +685,10 @@ export const deleteAccountTtsCache = (sid: string) => {
export const deleteClient = (sid: string) => {
return deleteFetch<EmptyResponse>(`${API_CLIENTS}/${sid}`);
};
export const deleteRecord = (url: string) => {
return deleteFetch<EmptyResponse>(url);
};
/** Named wrappers for `getFetch` */
export const getUser = (sid: string) => {