Skip to content

Commit

Permalink
🪼changed the calendar's route to user/events instead of just /events
Browse files Browse the repository at this point in the history
  • Loading branch information
Plebbaroni committed Dec 14, 2024
1 parent 7c2cd73 commit 1bdb29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Calendar/Calendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function Calendar() {

try {
//not gonna use user/events for now as idk if login is working with the frontedn
const res = await fetch(`${import.meta.env.VITE_BACKEND_URL + '/events?' + params}`)
const res = await fetch(`${import.meta.env.VITE_BACKEND_URL + '/user/events?' + params}`)

if (res.ok) {
const data = await res.json();
Expand Down

0 comments on commit 1bdb29b

Please sign in to comment.