clean tts cache for account (#264)

This commit is contained in:
Hoan Luu Huu authored and GitHub committed 2023-06-02 07:39:48 -04:00
1 parent 91625612d5
commit f91bbe9245
3 files changed
+60 -2

No files matched your search

+4
View File
@@ -582,6 +582,10 @@ export const deleteTtsCache = () => {
return deleteFetch<EmptyResponse>(API_TTS_CACHE);
};
export const deleteAccountTtsCache = (sid: string) => {
return deleteFetch<EmptyResponse>(`${API_BASE_URL}/Accounts/${sid}/TtsCache`);
};
/** Named wrappers for `getFetch` */
export const getUser = (sid: string) => {