mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 13:57:32 +00:00
16 lines
310 B
Go
16 lines
310 B
Go
|
package auth
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/caos/zitadel/internal/domain"
|
||
|
"github.com/caos/zitadel/pkg/grpc/auth"
|
||
|
)
|
||
|
|
||
|
func UpdateMyPhoneToDomain(ctx context.Context, phone *auth.SetMyPhoneRequest) *domain.Phone {
|
||
|
return &domain.Phone{
|
||
|
ObjectRoot: ctxToObjectRoot(ctx),
|
||
|
PhoneNumber: phone.Phone,
|
||
|
}
|
||
|
}
|