mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:47:33 +00:00
@@ -16,8 +16,9 @@ func (s *Server) GetMyEmail(ctx context.Context, _ *auth_pb.GetMyEmailRequest) (
|
||||
}
|
||||
return &auth_pb.GetMyEmailResponse{
|
||||
Email: user.ModelEmailToPb(email),
|
||||
Details: object.ToDetailsPb(
|
||||
Details: object.ToViewDetailsPb(
|
||||
email.Sequence,
|
||||
email.CreationDate,
|
||||
email.ChangeDate,
|
||||
email.ResourceOwner,
|
||||
),
|
||||
|
@@ -16,8 +16,9 @@ func (s *Server) GetMyPhone(ctx context.Context, _ *auth_pb.GetMyPhoneRequest) (
|
||||
}
|
||||
return &auth_pb.GetMyPhoneResponse{
|
||||
Phone: user.ModelPhoneToPb(phone),
|
||||
Details: object.ToDetailsPb(
|
||||
Details: object.ToViewDetailsPb(
|
||||
phone.Sequence,
|
||||
phone.CreationDate,
|
||||
phone.ChangeDate,
|
||||
phone.ResourceOwner,
|
||||
),
|
||||
|
@@ -15,8 +15,9 @@ func (s *Server) GetMyProfile(ctx context.Context, req *auth_pb.GetMyProfileRequ
|
||||
}
|
||||
return &auth_pb.GetMyProfileResponse{
|
||||
Profile: user_grpc.ProfileToPb(profile),
|
||||
Details: object_grpc.ToDetailsPb(
|
||||
Details: object_grpc.ToViewDetailsPb(
|
||||
profile.Sequence,
|
||||
profile.CreationDate,
|
||||
profile.ChangeDate,
|
||||
profile.ResourceOwner,
|
||||
),
|
||||
|
Reference in New Issue
Block a user