Skip to content

Commit

Permalink
#4 - WIP part deux
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikpyt committed Sep 27, 2023
1 parent 88e5567 commit a4be162
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/TestForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ async function onSubmit() {
const newBlob = await upload(file.name, file, {
access: 'public',
handleUploadUrl: api('blob/upload'),
clientPayload: JSON.stringify({
parentId: null,
}),
});
blob.value = newBlob;
Expand Down

0 comments on commit a4be162

Please sign in to comment.