Files
tubearchivist/frontend/src/api/actions/deleteDownloadById.ts
2025-01-07 23:13:48 +07:00

10 lines
229 B
TypeScript

import APIClient from '../../functions/APIClient';
const deleteDownloadById = async (youtubeId: string) => {
return APIClient(`/api/download/${youtubeId}/`, {
method: 'DELETE',
});
};
export default deleteDownloadById;