Skip to content

Commit

Permalink
Fixed Event image fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
rishit-singh committed Jan 7, 2024
1 parent 50e7f8c commit eea4a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/thunks/EventThunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const fetchEventsAsync = () => async (state: RootState, dispatch: AppDisp
End: new Date(item.End),
Description: item.Description,
Location: item.Location,
Image: (item.Image != null) ? `https://${process.env.APIURL}/Images/${item.Image}` : "https://via.placeholder.com/800x800",
Image: (item.Image != null) ? `https://${process.env.APIURL}/${item.Image}` : "https://via.placeholder.com/800x800",
Link: { Google: item.Link.Google, Apple: item.Link.Apple }
} as CalendarEvent;
});
Expand Down

0 comments on commit eea4a5c

Please sign in to comment.