Skip to content

Commit 5938223

Browse files
authored
Merge pull request #333 from digital-gov-mg/sms_config
fix sms nex config
2 parents ca069ef + 06eb3bb commit 5938223

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/notification/sms-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ const getOrCreateAwsSnsClient = () => {
6060
credentials: {
6161
accessKeyId: AWS_SNS_ACCESS_KEY_ID,
6262
secretAccessKey: AWS_SNS_SECRET_ACCESS_KEY
63-
}
63+
},
64+
endpoint: process.env.AWS_ENDPOINT
6465
})
6566

6667
return awsSnsClient

0 commit comments

Comments
 (0)