remove console logs

This commit is contained in:
Peter Maquiran
2024-10-17 13:01:24 +01:00
parent 02d5e3e1ec
commit 2e04ef0b20
32 changed files with 316 additions and 960 deletions
+9 -9
View File
@@ -17,18 +17,18 @@ export class EventService {
) { }
create({body, calendar}) {
// create({body, calendar}) {
if(this.p.userRole(['PR'])) {
return this.eventService.postEventPr(body, calendar)
} else if(this.p.userRole(['MDGPR'])) {
return this.eventService.postEventMd(body, calendar)
} else {
return this.eventService.postEventGeneric(body, calendar, body.CalendarId)
}
// if(this.p.userRole(['PR'])) {
// return this.eventService.postEventPr(body, calendar)
// } else if(this.p.userRole(['MDGPR'])) {
// return this.eventService.postEventMd(body, calendar)
// } else {
// return this.eventService.postEventGeneric(body, calendar, body.CalendarId)
// }
}
// }
addAttachment(attachment: addAttachment) {
return this.attachmentsService.setEventAttachmentById(attachment)