Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove stray period
  • Loading branch information
regalijan committed Mar 26, 2024
1 parent 6b85d51 commit 690d92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/reports/complete.ts
Expand Up @@ -33,7 +33,7 @@ export async function onRequestPost(context: RequestContext) {
for (const attachment of coconutData.attachments) {
const token = crypto.randomUUID();
const objectMeta = (
await context.env.R2.list({ prefix: `t/${attachment}.` })
await context.env.R2.list({ prefix: `t/${attachment}` })
).objects.at(0);

if (!objectMeta) continue;
Expand Down

0 comments on commit 690d92e

Please sign in to comment.