- saving current work before refactor

This commit is contained in:
2025-10-28 08:50:55 +00:00
parent 93dcde4459
commit a64fa76ecb
4 changed files with 38 additions and 17 deletions

View File

@@ -22,7 +22,6 @@ const uploadFile = async (file: File) => {
const getUploadFiles = async ({ queryKey }: { queryKey: string[] }) => {
const [, fileName] = queryKey;
console.log(`${camBase}/Mobile/${fileName}.mp3`);
const response = await fetch(`${camBase}/Mobile/${fileName}`);
if (!response.ok) {
throw new Error("Cannot reach upload file endpoint");