Fix SES region variable

The last version do not save the SES region into the config file, breaking the notification hook.
pull/4700/head
Steven Zhu 2023-07-14 12:47:44 -04:00 committed by GitHub
parent 80ad62ff56
commit dd958872a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ aws_ses_send() {
_err "Please specify your region and try again. see https://docs.aws.amazon.com/general/latest/gr/ses.html" _err "Please specify your region and try again. see https://docs.aws.amazon.com/general/latest/gr/ses.html"
return 1 return 1
fi fi
_saveaccountconf_mutable AWS_SES_REGION "$AWS_SES_REGION"
#save for future use, unless using a role which will be fetched as needed #save for future use, unless using a role which will be fetched as needed
if [ -z "$_using_role" ]; then if [ -z "$_using_role" ]; then