Skip to content

Commit 86c5105

Browse files
committed
fix: type problem fixed
1 parent f2cb61a commit 86c5105

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extension/java-client-operate/src/main/java/io/camunda/operate/CamundaOperateClientV2.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,10 +835,9 @@ private static Consumer<IncidentFilter> fromIncidentSearchToFilter(SearchQuery q
835835
applyIfNotNull(incidentFilter.getProcessInstanceKey(), filter::processInstanceKey);
836836
applyIfNotNull(incidentFilter.getType(), IncidentErrorType::valueOf, filter::errorType);
837837
applyIfNotNull(incidentFilter.getMessage(), filter::errorMessage);
838-
// TODO fix this as soon as the API is fixed
839838
applyIfNotNull(
840839
incidentFilter.getCreationTime(),
841-
operateDate -> operateDate.getOffsetDateTime().toString(),
840+
OperateDate::getOffsetDateTime,
842841
filter::creationTime);
843842
applyIfNotNull(incidentFilter.getState(), IncidentState::valueOf, filter::state);
844843
applyIfNotNull(incidentFilter.getTenantId(), filter::tenantId);

0 commit comments

Comments
 (0)