Skip to content

Commit 3effa8b

Browse files
author
oatkiller
committed
use empty string in the be
1 parent 7b5b69c commit 3effa8b

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/security_solution/server/endpoint/routes/resolver/utils

1 file changed

+1
-1
lines changed

x-pack/plugins/security_solution/server/endpoint/routes/resolver/utils/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class PaginationBuilder {
6161
const lastResult = results[results.length - 1];
6262
const cursor = {
6363
timestamp: lastResult['@timestamp'],
64-
eventID: String(eventId(lastResult)),
64+
eventID: eventId(lastResult) === undefined ? '' : String(eventId(lastResult)),
6565
};
6666
return PaginationBuilder.urlEncodeCursor(cursor);
6767
}

0 commit comments

Comments
 (0)