diff --git a/apps/api/src/campaign-news-file/campaign-news-file.service.ts b/apps/api/src/campaign-news-file/campaign-news-file.service.ts index 072ff58a..614390a5 100644 --- a/apps/api/src/campaign-news-file/campaign-news-file.service.ts +++ b/apps/api/src/campaign-news-file/campaign-news-file.service.ts @@ -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),