diff --git a/functions/api/coconut.ts b/functions/api/coconut.ts index 46b00c3..396b199 100644 --- a/functions/api/coconut.ts +++ b/functions/api/coconut.ts @@ -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(