Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix copy-and-delete
  • Loading branch information
regalijan committed Mar 27, 2024
1 parent d2a26c5 commit 3f8d79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/coconut.ts
Expand Up @@ -53,7 +53,7 @@ export async function onRequestPost(context: RequestContext) {
method: "PUT",
});

await context.env.R2.delete(attachment);
await context.env.R2.delete(`${attachment}.mp4`);

if (!copyResp.ok)
console.log(
Expand Down

0 comments on commit 3f8d79a

Please sign in to comment.