From fd3930f3061ffe28b904824e797b003b4c77a589 Mon Sep 17 00:00:00 2001 From: THIS ONE IS A LITTLE BIT TRICKY KRUB Date: Mon, 21 Oct 2024 21:28:59 +0700 Subject: [PATCH] Refactor ApplyBusiness component to update bucket name for file uploads --- src/app/business/apply/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/business/apply/page.tsx b/src/app/business/apply/page.tsx index d5c342e..14da3ca 100644 --- a/src/app/business/apply/page.tsx +++ b/src/app/business/apply/page.tsx @@ -9,7 +9,7 @@ import Swal from "sweetalert2"; import { getCurrentUserID } from "@/app/api/userApi"; type businessSchema = z.infer; -const BUCKET_NAME = "project-pitches"; +const BUCKET_NAME = "business-pitches"; let supabase = createSupabaseClient(); async function uploadFile(file: File, userID: string, bucketName: string) {