mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
remove calendar id
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user