Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
klacabane committed Jun 22, 2023
1 parent 9717e42 commit c357d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/asset_manager/server/routes/assets/hosts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export function hostsRoutes<T extends RequestHandlerContext>({

try {
const response = await assetAccessor.getHosts({
from: datemath.parse(from)!.valueOf(),
to: datemath.parse(to)!.valueOf(),
from: datemath.parse(from)!.toISOString(),
to: datemath.parse(to)!.toISOString(),
esClient,
});

Expand Down

0 comments on commit c357d14

Please sign in to comment.