mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:37:32 +00:00
fix: role assertion (#1986)
* fix: enum to display access token role assertion * improve assertion descriptions * fix nil pointer
This commit is contained in:
@@ -73,7 +73,7 @@ func (p *Project) appendChangeAPIConfigEvent(event *es_models.Event) error {
|
||||
}
|
||||
|
||||
if i, a := GetApplication(p.Applications, config.AppID); a != nil {
|
||||
if p.Applications[i].OIDCConfig == nil {
|
||||
if p.Applications[i].APIConfig == nil {
|
||||
return errors.ThrowInvalidArgument(nil, "MODEL-ADbsd", "api config is nil")
|
||||
}
|
||||
return p.Applications[i].APIConfig.setData(event)
|
||||
|
Reference in New Issue
Block a user