feat: Ajout des évenements à venir

This commit is contained in:
Luc SORIGNET
2025-03-02 16:08:26 +01:00
parent c9b0f0d77a
commit c03fa0ba42
10 changed files with 25 additions and 34 deletions

View File

@ -104,5 +104,9 @@ export const deleteEvent = (id, csrfToken) => {
return removeDatas(`${BE_PLANNING_EVENTS_URL}/${id}`, csrfToken)
}
export const fetchUpcomingEvents = () => {
return getData(`${BE_PLANNING_EVENTS_URL}/upcoming`);
};