Revert "add log"

This reverts commit 4b2bf59a60.
This commit is contained in:
おさむのひと 2025-04-28 21:45:07 +09:00
parent 4b2bf59a60
commit d561a06ba2
2 changed files with 2 additions and 9 deletions

View File

@ -196,11 +196,7 @@ export async function uploadFile(
body.append('name', filename);
return await fetch(`https://${host}/api/drive/files/create`, { method: 'POST', body })
.then(async res => await res.json())
.catch(err => {
console.error('-- error :', JSON.stringify(err));
throw err;
});
.then(async res => await res.json());
}
export async function addCustomEmoji(

View File

@ -122,10 +122,7 @@ export class APIClient {
...body.error,
});
}
}).catch(err => {
console.error('-- error :', JSON.stringify(err));
reject(err);
});
}).catch(reject);
});
}
}