Skip to content

Commit

Permalink
fix /
Browse files Browse the repository at this point in the history
  • Loading branch information
r-carroll committed Jul 27, 2024
1 parent 8408464 commit 12893dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/reading.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function updateTally(tallyType = 'reading') {
}

async function getTimespans(tallyType = 'reading') {
const response = await fetch(`${apiUrl}/${tallyType}.timespans`);
const response = await fetch(`${apiUrl}/${tallyType}/timespans`);
const json = await response.json();
let hoursMap = new Map();
let daysMap = new Map();
Expand Down

0 comments on commit 12893dd

Please sign in to comment.