fix: usergrant update (#533)

* fix: add grantid on update usergrant

* fix: add grantid on update usergrant
This commit is contained in:
Fabi
2020-07-28 12:29:01 +02:00
committed by GitHub
parent 0d670ab3a2
commit 461b7b23b1
4 changed files with 1607 additions and 1597 deletions

View File

@@ -58,6 +58,7 @@ func userGrantUpdateToModel(u *management.UserGrantUpdate) *grant_model.UserGran
return &grant_model.UserGrant{
ObjectRoot: models.ObjectRoot{AggregateID: u.Id},
RoleKeys: u.RoleKeys,
GrantID: u.GrantId,
}
}