mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-19 05:54:06 +01:00
Refactor ApplyBusiness component to update bucket name for file uploads
This commit is contained in:
parent
f70c3a5573
commit
fd3930f306
@ -9,7 +9,7 @@ import Swal from "sweetalert2";
|
||||
import { getCurrentUserID } from "@/app/api/userApi";
|
||||
|
||||
type businessSchema = z.infer<typeof businessFormSchema>;
|
||||
const BUCKET_NAME = "project-pitches";
|
||||
const BUCKET_NAME = "business-pitches";
|
||||
let supabase = createSupabaseClient();
|
||||
|
||||
async function uploadFile(file: File, userID: string, bucketName: string) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user