Skip to content

Commit 1f130e7

Browse files
committed
fix expenses files bucket
Signed-off-by: Ivan Milchev <[email protected]>
1 parent 876f4b5 commit 1f130e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/api/src/expenses/expenses.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import { ConfigService } from '@nestjs/config'
1212
@Injectable()
1313
export class ExpensesService {
1414
constructor(private prisma: PrismaService, private s3: S3Service, private readonly configService:ConfigService) { }
15-
15+
1616
private readonly S3_BUCKET_NAME = 'expenses-files'
17-
private readonly bucketName: string = this.configService.get('CAMPAIGN_APPLICATIONS_FILES_BUCKET', this.S3_BUCKET_NAME)
17+
private readonly bucketName: string = this.configService.get('EXPENSES_FILES_BUCKET', this.S3_BUCKET_NAME)
1818

1919
/**
2020
* Creates an expense, while blocking the corresponding amount in the source vault.

0 commit comments

Comments
 (0)