Skip to content

Commit

Permalink
Merge pull request #70 from niwaniwa/feat/key-result
Browse files Browse the repository at this point in the history
change result branch
  • Loading branch information
niwaniwa authored Jun 19, 2024
2 parents b96086c + 153041b commit 6e36c65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/usecase/DoorController.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,5 @@ func KeyControl(key entity.KeyState, publishPath string) {
}
result := <-done
log.Println("Key process ", result)
if result {
PublishDoorSwitchStateCustom(publishPath, key.Open)
}
PublishDoorSwitchStateCustom(publishPath, key.Open)
}

0 comments on commit 6e36c65

Please sign in to comment.