Remove stray period
This commit is contained in:
parent
6b85d517ca
commit
690d92e4fd
@ -33,7 +33,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
for (const attachment of coconutData.attachments) {
|
for (const attachment of coconutData.attachments) {
|
||||||
const token = crypto.randomUUID();
|
const token = crypto.randomUUID();
|
||||||
const objectMeta = (
|
const objectMeta = (
|
||||||
await context.env.R2.list({ prefix: `t/${attachment}.` })
|
await context.env.R2.list({ prefix: `t/${attachment}` })
|
||||||
).objects.at(0);
|
).objects.at(0);
|
||||||
|
|
||||||
if (!objectMeta) continue;
|
if (!objectMeta) continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user