diff --git a/doorman.code-workspace b/doorman.code-workspace index d5aeaf5..1af1748 100644 --- a/doorman.code-workspace +++ b/doorman.code-workspace @@ -11,6 +11,9 @@ }, { "path": "packages/serverless" + }, + { + "path": "../../sideprojects/2023/smart-door-buzzer-twilio-functions" } ] } \ No newline at end of file diff --git a/packages/serverless/functions/api/door/info.js b/packages/serverless/functions/api/door/info.js index ac8a242..784a710 100644 --- a/packages/serverless/functions/api/door/info.js +++ b/packages/serverless/functions/api/door/info.js @@ -48,6 +48,7 @@ exports.handler = async function(context, event, callback) { buzzer, door, fallbackNumbers: config.Item.fallbackNumbers.SS, + pressKey: config.Item.pressKey.S, }); } else { await client.send(ddb.getLockStatusCommand(door))