Skip to content

Commit

Permalink
Additional NPE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdryankov committed Feb 1, 2024
1 parent 969572e commit e8e7692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ func (app *Application) createCalendarEventSingleGroup(clientID string, current
}

if memberships.GetMembershipByAccountID(current.ID) != nil {
adminIdentifiers, newGroupIDs := app.buildAdminIDs(nil, memberships, nil)
adminIdentifiers, newGroupIDs := app.buildAdminIDs(current, memberships, nil)

createdEvent, err := app.calendar.CreateCalendarEvent(adminIdentifiers, current.ID, event, current.OrgID, current.AppID)
if err != nil {
Expand Down

0 comments on commit e8e7692

Please sign in to comment.