mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-04 02:39:14 +02:00
87 string splitting by separator, not whitespace
This commit is contained in:
@@ -31,7 +31,7 @@ export async function fetchEventsByRoomAndDuration(
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log("Error fetching events: ", error);
|
||||
return null;
|
||||
return Promise.reject(error);
|
||||
});
|
||||
console.log("occupations: ", events);
|
||||
return events;
|
||||
|
Reference in New Issue
Block a user