From 7826c655d22d914e0283a5c6353cd72a37b3f64b Mon Sep 17 00:00:00 2001 From: Anwar Hussain Date: Tue, 21 Nov 2023 11:46:11 +0600 Subject: [PATCH] fix: update error msg --- packages/server/src/presigner/createS3PresignedUrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/presigner/createS3PresignedUrl.ts b/packages/server/src/presigner/createS3PresignedUrl.ts index 5e10459..9310d31 100644 --- a/packages/server/src/presigner/createS3PresignedUrl.ts +++ b/packages/server/src/presigner/createS3PresignedUrl.ts @@ -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 };