mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix edit event to approve
This commit is contained in:
@@ -189,16 +189,16 @@ export class AgendaDataRepositoryService {
|
||||
|
||||
let body;
|
||||
if(typeof eventData?.Body == 'object') {
|
||||
body = eventData?.Body?.Text
|
||||
} else {
|
||||
body = eventData?.Body
|
||||
body = eventData.Body.Text
|
||||
} else if (eventData?.Body) {
|
||||
body = eventData.Body
|
||||
}
|
||||
|
||||
let eventInput = {
|
||||
userId: calendar.wxUserId,
|
||||
ownerType: this.utils.selectedCalendarOwner(calendar.role),
|
||||
subject: eventData.Subject,
|
||||
body: eventData?.Body?.Text,
|
||||
body: body,
|
||||
location: eventData.Location,
|
||||
startDate: this.utils.addOneHourToIsoString(eventData.StartDate),
|
||||
endDate: this.utils.addOneHourToIsoString(eventData.EndDate),
|
||||
|
||||
Reference in New Issue
Block a user