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