fix when greeting is missing
All checks were successful
Build and push image for doorman-homeassistant / docker (push) Successful in 24s
Build and push Doorman UI / API / docker (push) Successful in 1m22s
Build and push image for doorman-homeassistant / deploy-gitainer (push) Successful in 22s

This commit is contained in:
Martin Dimitrov 2024-11-12 22:11:15 -08:00
parent dccd56bfa5
commit 07881e907d

View File

@ -70,7 +70,7 @@ exports.handler = async function(context, event, callback) {
fallbackNumbers: config.Item.fallbackNumbers.SS, fallbackNumbers: config.Item.fallbackNumbers.SS,
pressKey: config.Item.pressKey.S, pressKey: config.Item.pressKey.S,
discordUsers: config.Item?.discordUsers?.SS || [], discordUsers: config.Item?.discordUsers?.SS || [],
greeting: config.Item?.greeting.S || "", greeting: config.Item?.greeting?.S || "",
}); });
}).catch((e) => { }).catch((e) => {