Await the coconut token put

This commit is contained in:
Regalijan 2024-03-26 04:14:31 -04:00
parent 1205d98f4f
commit a521baf277
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -77,7 +77,7 @@ export async function onRequestPost(context: RequestContext) {
}, },
method: "POST", method: "POST",
}), }),
context.env.DATA.put(`coconutjob_${attachment}`, token, { await context.env.DATA.put(`coconutjob_${attachment}`, token, {
expirationTtl: 600, expirationTtl: 600,
}), }),
); );