mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 20:38:00 +00:00
15 lines
278 B
Go
15 lines
278 B
Go
|
package grpc
|
||
|
|
||
|
import (
|
||
|
iam_model "github.com/caos/zitadel/internal/iam/model"
|
||
|
)
|
||
|
|
||
|
func iamFromModel(iam *iam_model.Iam) *Iam {
|
||
|
return &Iam{
|
||
|
IamProjectId: iam.IamProjectID,
|
||
|
GlobalOrgId: iam.GlobalOrgID,
|
||
|
SetUpDone: iam.SetUpDone,
|
||
|
SetUpStarted: iam.SetUpStarted,
|
||
|
}
|
||
|
}
|