From e3d1e45d56f52337348389435c01c9bc1b16c1e3 Mon Sep 17 00:00:00 2001 From: Christian Walker Date: Sat, 17 Aug 2024 18:13:09 -0400 Subject: [PATCH] Update upload url --- apps/web/src/components/registration/RegisterForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/registration/RegisterForm.tsx b/apps/web/src/components/registration/RegisterForm.tsx index 072dc3b2..51914a17 100644 --- a/apps/web/src/components/registration/RegisterForm.tsx +++ b/apps/web/src/components/registration/RegisterForm.tsx @@ -134,7 +134,7 @@ export default function RegisterForm({ defaultEmail }: RegisterFormProps) { let resume: string = c.noResumeProvidedURL; if (uploadedFile) { - const fileLocation = `${c.hackathonName}/resume/${uploadedFile.name}`; + const fileLocation = `${c.hackathonName}/${c.itteration}/resume/${uploadedFile.name}`; const newBlob = await put(fileLocation, uploadedFile, { access: "public", handleBlobUploadUrl: "/api/upload/resume/register",