remove calendar id

This commit is contained in:
Peter Maquiran
2024-06-07 10:26:26 +01:00
parent 07c0223ed2
commit 59d0881669
15 changed files with 274 additions and 246 deletions
@@ -41,7 +41,7 @@ export class AgendaDataService {
}
// Events Endpoints
createEvent(eventData: EventInputDTO): Observable<any> {
createEvent(eventData: EventInputDTO) {
return this.http.post<any>(`${this.baseUrl}/Events`, eventData);
}
@@ -50,6 +50,10 @@ export class AgendaDataService {
.set('UserId', userId)
.set('Status', status)
if(userId == null || userId == undefined) {
throw('userId '+ userId)
}
if (startDate !== null && startDate !== undefined) {
params = params.set('startDate', startDate);
}