Skip to content

Commit d04c853

Browse files
committed
fix: update API endpoint in EventsPhotoCarousel component
1 parent eebfc82 commit d04c853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/EventsPhotoCarousel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function EventsPhotoCarousel({setSelectedEvent}: { setSelectedEvent: (event: Cal
5757
const fetchEvents = async () => {
5858
setIsLoading(true);
5959
try {
60-
const response = await fetch("https://api.thesoda.io/calendar/events");
60+
const response = await fetch("https://api.thesoda.io/api/calendar/events");
6161
const data = await response.json();
6262

6363
if (data?.status === "success" && Array.isArray(data.events)) {

0 commit comments

Comments
 (0)