mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-26 22:38:45 +00:00
append events without return value
This commit is contained in:
@@ -37,10 +37,7 @@ func ChangeEventFromExisting(
|
||||
roles ...string,
|
||||
) (*ChangedEvent, error) {
|
||||
|
||||
change := &ChangedEvent{
|
||||
BaseEvent: *base,
|
||||
UserID: current.UserID,
|
||||
}
|
||||
change := NewChangedEvent(base, current.userID)
|
||||
|
||||
sort.Strings(current.Roles)
|
||||
sort.Strings(roles)
|
||||
|
||||
Reference in New Issue
Block a user