Skip to content

Commit 6f8bfda

Browse files
authored
Update apply.js
1 parent aba3f1d commit 6f8bfda

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apply.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ document.addEventListener("DOMContentLoaded", async () => {
5050
const fileName = `${Date.now()}_${name.replace(/\s+/g, '_')}.${fileExt}`;
5151
const filePath = `${jobId}/${fileName}`;
5252

53-
const { error: uploadError } = await supabase.storage
54-
.from("RESUMES")
55-
.upload(filePath, resumeFile);
53+
const { error: uploadError } = await supabase.storage.from("RESUMES").upload(filePath, resume);
5654

5755
if (uploadError) throw uploadError;
5856

0 commit comments

Comments
 (0)