change calendarid by userid

This commit is contained in:
Peter Maquiran
2024-05-31 15:47:09 +01:00
parent a89b9dd4b6
commit 4f4cc95ceb
3 changed files with 49 additions and 51 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ export class CalendarService {
})
}
pushEvent(eventsList: EventList, profile: 'pr' | 'md') {
pushEvent(eventsList: EventList, profile: 'pr' | 'md', CalendarId: string) {
let news = []
eventsList.forEach((element, eventIndex) => {
@@ -85,7 +85,7 @@ export class CalendarService {
calendarName: element.CalendarName,
profile: profile,
id: element.EventId,
CalendarId: element.CalendarId
CalendarId: CalendarId
});
});