- saving current work before refactor
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user