Skip to content

Commit

Permalink
Fix variable name typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroda committed Nov 25, 2024
1 parent 1c50a22 commit 03747ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dao/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,12 +430,12 @@ func EventStateNotification(ctx context.Context, i *models.Event) (err error) {
return vcago.NewNotFound(models.EventCollection, i)
}

eventAps := new(models.User)
if eventAps, err = UsersGetByID(ctx, &models.UserParam{ID: i.EventASPID}); err != nil {
eventAsp := new(models.User)
if eventAsp, err = UsersGetByID(ctx, &models.UserParam{ID: i.EventASPID}); err != nil {
return
}

notifyAboutStateChange(eventAps, i)
notifyAboutStateChange(eventAsp, i)
return
}

Expand Down

0 comments on commit 03747ab

Please sign in to comment.