Skip to content

Commit

Permalink
fix: update error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
getanwar committed Nov 21, 2023
1 parent 7ab1041 commit 7826c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/presigner/createS3PresignedUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const createS3PresignedUrl = (input: createS3PresignedUrlInput) => {
const params = { Bucket: bucket, ACL: acl };
const region = (configuration?.region || defaultRegion) as string;
if (!region) {
throw "You must specify a region";
throw "You must specify a region.";
}
const opts = { client, params, region, prefix, expiresIn };

Expand Down

0 comments on commit 7826c65

Please sign in to comment.