Skip to content

Commit

Permalink
Clean leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
sashko9807 committed Jan 21, 2024
1 parent e4c287f commit 6307be4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class CampaignNewsFileService {
}
const dbFile = await this.prisma.campaignNewsFile.create({ data: file })
// Use the DB primary key as the S3 key. This will make sure it is always unique.
const test = await this.s3.uploadObject(
await this.s3.uploadObject(
this.bucketName,
dbFile.id,
encodeURIComponent(filename),
Expand Down

0 comments on commit 6307be4

Please sign in to comment.