Skip to content

Commit 154432e

Browse files
committed
fix: fixed incorrect parameter name 'stop' -> 'end'
1 parent 6afad5e commit 154432e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualization/src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let today_end = new Date();
1717
today_end.setHours(23, 59, 59, 999);
1818

1919
const start = url.searchParams.get("start") || today_start;
20-
const stop = url.searchParams.get("stop") || today_end;
20+
const end = url.searchParams.get("end") || today_end;
2121
const hostname = url.searchParams.get("hostname");
2222
console.log(hostname, start, stop);
2323

@@ -36,7 +36,7 @@ function load() {
3636
}
3737
})
3838
.then(() => {
39-
return aw.getEvents(bucketName, { start: start, stop: stop });
39+
return aw.getEvents(bucketName, { start: start, end: end });
4040
})
4141
.then(events => {
4242
console.log(events);

0 commit comments

Comments
 (0)