mirror of
https://github.com/Sosokker/B2D-Ventures.git
synced 2025-12-20 06:24: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";
|
import { getCurrentUserID } from "@/app/api/userApi";
|
||||||
|
|
||||||
type businessSchema = z.infer<typeof businessFormSchema>;
|
type businessSchema = z.infer<typeof businessFormSchema>;
|
||||||
const BUCKET_NAME = "project-pitches";
|
const BUCKET_NAME = "business-pitches";
|
||||||
let supabase = createSupabaseClient();
|
let supabase = createSupabaseClient();
|
||||||
|
|
||||||
async function uploadFile(file: File, userID: string, bucketName: string) {
|
async function uploadFile(file: File, userID: string, bucketName: string) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user