Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cnasikas committed Jul 14, 2020
1 parent 5fe8948 commit 7c4b903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const getAlertsHistogramQuery = (
alerts: {
date_histogram: {
field: '@timestamp',
fixed_interval: `${Math.floor(moment(to).diff(from) / 32)}ms`,
fixed_interval: `${Math.floor(moment(to).diff(moment(from)) / 32)}ms`,
min_doc_count: 0,
extended_bounds: {
min: from,
Expand Down

0 comments on commit 7c4b903

Please sign in to comment.