Fix copy-and-delete

This commit is contained in:
Regalijan 2024-03-27 00:04:55 -04:00
parent d2a26c5ab1
commit 3f8d79a95d
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -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(