mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
teste mobile done!
This commit is contained in:
@@ -25,6 +25,8 @@ export class AgendaDataRepositoryService {
|
||||
try {
|
||||
const result = await this.agendaDataService.getEvent(id).pipe(
|
||||
map((response) => {
|
||||
console.log('Response',response.data)
|
||||
console.log('Output',EventMapper.toDomain(response.data))
|
||||
return EventMapper.toDomain(response.data)
|
||||
})
|
||||
).toPromise()
|
||||
@@ -91,7 +93,7 @@ export class AgendaDataRepositoryService {
|
||||
type: this.utils.calendarTypeSeleted(eventData.Category),
|
||||
category: this.utils.calendarCategorySeleted(eventData.CalendarName),
|
||||
attendees: this.utils.attendeesAdded(eventData.Attendees),
|
||||
attachments: documents,
|
||||
attachments: this.utils.documentAdded(documents),
|
||||
recurrence: {
|
||||
frequency: 0,
|
||||
occurrences: 0,
|
||||
@@ -130,7 +132,7 @@ export class AgendaDataRepositoryService {
|
||||
}
|
||||
|
||||
addEventAttachment(id,attachmentData) {
|
||||
return this.agendaDataService.addEventAttachment(id,attachmentData);
|
||||
return this.agendaDataService.addEventAttachment(id,{ attachments: this.utils.documentAdded(attachmentData) });
|
||||
}
|
||||
|
||||
deleteEvent(eventId) {
|
||||
|
||||
Reference in New Issue
Block a user