Skip to content

Commit

Permalink
fix: possible startup bug versions of undefined
Browse files Browse the repository at this point in the history
Fixes #3328
  • Loading branch information
robertsLando committed Oct 9, 2023
1 parent 1741fac commit 5286879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ app.post(
const settings: Settings =
jsonStore.get(store.settings) || ({} as Settings)

if (!settings.zwave) {
if (!settings.gateway) {
settings.gateway = {
type: GatewayType.NAMED,
}
Expand Down

0 comments on commit 5286879

Please sign in to comment.