upd: coba upload file
Deskripsi: - seafile upload - coba api upload file api No Issues
This commit is contained in:
@@ -158,7 +158,6 @@ export async function uploadFile(config: Config, file: File): Promise<string> {
|
||||
});
|
||||
|
||||
const text = await res.text();
|
||||
console.log(text);
|
||||
|
||||
if (!res.ok) throw new Error(`Upload failed: ${text}`);
|
||||
return `✅ Uploaded ${file.name} successfully`;
|
||||
|
||||
Reference in New Issue
Block a user