mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: type conversation (#894)
This commit is contained in:
parent
e7514998bf
commit
524a6d4467
@ -251,7 +251,7 @@ func idpConfigStylingTypeToModel(stylingType management.IdpStylingType) iam_mode
|
||||
}
|
||||
|
||||
func idpProviderTypeStringToModel(providerType string) (iam_model.IDPProviderType, error) {
|
||||
i, _ := strconv.Atoi(providerType)
|
||||
i, _ := strconv.ParseInt(providerType, 10, 32)
|
||||
switch management.IdpProviderType(i) {
|
||||
case management.IdpProviderType_IDPPROVIDERTYPE_SYSTEM:
|
||||
return iam_model.IDPProviderTypeSystem, nil
|
||||
|
Loading…
Reference in New Issue
Block a user