Skip to content

Commit 5593aae

Browse files
committed
update => upload, storage fix
1 parent d903815 commit 5593aae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/server.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export async function updateServerIcon(
349349
) {
350350
const { data, error } = await supabase.storage
351351
.from('servericons')
352-
.update(filePath, image, { upsert: true, cacheControl: '1' });
352+
.upload(filePath, image, { upsert: true, cacheControl: '1' });
353353

354354
const publicURL = supabase.storage
355355
.from('servericons')

0 commit comments

Comments
 (0)