aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/src/lib/reports.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/lib/reports.js b/src/web/src/lib/reports.js
index 464c37e5..17c6d214 100644
--- a/src/web/src/lib/reports.js
+++ b/src/web/src/lib/reports.js
@@ -20,7 +20,7 @@ export const getSummary = async ({
export const getHistogram = async ({
start,
end,
- interval,
+ buckets,
direction,
username = null,
} = {}) => {
@@ -28,7 +28,7 @@ export const getHistogram = async ({
if (start) parameters.append('start', start.toISOString());
if (end) parameters.append('end', end.toISOString());
- if (interval) parameters.append('interval', interval);
+ if (buckets) parameters.append('buckets', buckets);
if (direction) parameters.append('direction', direction);
if (username) parameters.append('username', username);