Skip to content

Commit

Permalink
🐛 Fix bug when using the refresh route
Browse files Browse the repository at this point in the history
  • Loading branch information
Draculente committed Oct 19, 2023
1 parent f8ab77f commit 83bf3ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/v1/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export async function refresh() {
return Promise.all(
Object.values(store).map(location => {
return Promise.all([
location.allergens.refresh(),
location.menu.refresh()
location.allergens.loadData(),
location.menu.loadData()
]);
})
)
Expand Down

0 comments on commit 83bf3ab

Please sign in to comment.