mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-28 01:52:16 +00:00
@@ -18,6 +18,20 @@ func DomainToDetailsPb(objectDetail *domain.ObjectDetails) *object_pb.ObjectDeta
|
||||
}
|
||||
}
|
||||
|
||||
func ToViewDetailsPb(
|
||||
sequence uint64,
|
||||
creationDate,
|
||||
changeDate time.Time,
|
||||
resourceOwner string,
|
||||
) *object_pb.ObjectDetails {
|
||||
return &object_pb.ObjectDetails{
|
||||
Sequence: sequence,
|
||||
CreationDate: timestamppb.New(creationDate),
|
||||
ChangeDate: timestamppb.New(changeDate),
|
||||
ResourceOwner: resourceOwner,
|
||||
}
|
||||
}
|
||||
|
||||
func ToDetailsPb(
|
||||
sequence uint64,
|
||||
changeDate time.Time,
|
||||
|
||||
Reference in New Issue
Block a user