We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2fd9ad commit 203f116Copy full SHA for 203f116
src/apis/updateUserApi.ts
@@ -22,7 +22,7 @@ export const updateUserProfile = async ({ id, user_nickname, file }: UpdateUserP
22
const bucketName = 'profile';
23
24
if (file) {
25
- const filePath = `profile_images/${id}/${file.name}`;
+ const filePath = `public/${id}_${file.name}`;
26
console.log(`Uploading file to path: ${filePath}`);
27
28
const { error: uploadError } = await supabase.storage.from(bucketName).upload(filePath, file, { upsert: true });
0 commit comments