mirror of
https://github.com/Roslund/sthlm-mesh.git
synced 2026-08-09 10:22:56 +02:00
update with API changes
This commit is contained in:
@@ -10,7 +10,7 @@ async function messagesStatsGraph() {
|
||||
|
||||
|
||||
try {
|
||||
const response = await fetch('https://map.sthlm-mesh.se/api/v1/messages-per-hour')
|
||||
const response = await fetch('https://map.sthlm-mesh.se/api/v1/stats/messages-per-hour')
|
||||
const data = await response.json();
|
||||
|
||||
const labels = data.map(entry => entry.hour);
|
||||
|
||||
Reference in New Issue
Block a user