Skip to content

Commit

Permalink
update reset-wind-history endpoint to change months from object to array
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescorpian committed Mar 4, 2025
1 parent fd1a192 commit 85e3b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ router.delete("/reset-wind-history", authMiddleware, async (ctx) => {
transaction.set(["station", station.value.id], {
...station.value,
totalEntries: 0,
months: {},
months: [],
});
}

Expand Down

0 comments on commit 85e3b37

Please sign in to comment.