mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:37:34 +00:00
fix(current_sequence): no error if not found (#3740)
This commit is contained in:
@@ -69,11 +69,15 @@ func ToListDetails(
|
||||
processedSequence uint64,
|
||||
viewTimestamp time.Time,
|
||||
) *object_pb.ListDetails {
|
||||
return &object_pb.ListDetails{
|
||||
details := &object_pb.ListDetails{
|
||||
TotalResult: totalResult,
|
||||
ProcessedSequence: processedSequence,
|
||||
ViewTimestamp: timestamppb.New(viewTimestamp),
|
||||
}
|
||||
if !viewTimestamp.IsZero() {
|
||||
details.ViewTimestamp = timestamppb.New(viewTimestamp)
|
||||
}
|
||||
|
||||
return details
|
||||
}
|
||||
|
||||
func TextMethodToModel(method object_pb.TextQueryMethod) domain.SearchMethod {
|
||||
|
Reference in New Issue
Block a user