mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove console logs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user