upd: dashboard admin
Deskripsi - edit upload ttd setting desa No Issues
This commit is contained in:
@@ -159,7 +159,7 @@ export async function uploadFile(config: Config, file: File): Promise<string> {
|
||||
|
||||
const text = await res.text();
|
||||
|
||||
if (!res.ok) throw new Error(`Upload failed: ${text}`);
|
||||
if (!res.ok) return 'gagal'
|
||||
return `✅ Uploaded ${file.name} successfully`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user