Skip to content

Commit

Permalink
include the current environment in the uploads bucket name
Browse files Browse the repository at this point in the history
  • Loading branch information
dysmento committed Jan 8, 2024
1 parent 1fb9282 commit f11d611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/lib/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
import { getSignedUrl as awsGetSignedUrl } from '@aws-sdk/s3-request-presigner'
import { QueryResolvers, CreateUploadInput } from 'types/graphql'

const CPF_REPORTER_BUCKET_NAME = 'cpf-reporter'
const CPF_REPORTER_BUCKET_NAME = `cpf-reporter-${process.env.environment}`

function getS3Client() {
let s3: S3Client
Expand Down

0 comments on commit f11d611

Please sign in to comment.