Skip to content

Commit

Permalink
fix: location already open is not processed and eternal while (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
42atomys authored Jul 1, 2022
1 parent 408748f commit d914c47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/webhooks/location.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ func (p *locationProcessor) Create(loc *duoapi.Location[duoapi.LocationUser], me
SetUser(user).
SetUserDuoID(loc.User.ID).
SetUserDuoLogin(user.DuoLogin).
OnConflictColumns(location.FieldDuoID).
UpdateNewValues().
Exec(p.ctx)
}
func (p *locationProcessor) Close(loc *duoapi.Location[duoapi.LocationUser], metadata *duoapi.WebhookMetadata) error {
Expand Down

0 comments on commit d914c47

Please sign in to comment.