Merge branches 'feature/agenda-new-api-eudes' and 'feature/agenda-new-api-eudes' of https://bitbucket.org/equilibriumito/gabinete-digital-fo into feature/agenda-new-api-eudes

This commit is contained in:
Eudes Inácio
2024-06-13 16:17:01 +01:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -705,7 +705,7 @@ export class AgendaPage implements OnInit {
calendarOwnerName: selectedCalendar.wxFullName,
endDate: endTime.toISOString(),
startDate: startTime.toISOString(),
status: -1
status: 3
})
if(response.isOk()) {
@@ -67,7 +67,7 @@ export class AgendaDataRepositoryService {
}
async EventList({ userId, startDate, endDate, status = 2, category = null, type = null, calendarOwnerName = '' }) {
async EventList({ userId, startDate, endDate, status = 3, category = null, type = null, calendarOwnerName = '' }) {
try {
const result = await this.agendaDataService.getEvents(userId, startDate, endDate, status, category, type).pipe(
@@ -81,7 +81,7 @@ export class AgendaDataRepositoryService {
}
}
async eventToApproveList({ userId, startDate = null, endDate = null, status = 0, category = null, type = null, calendarOwnerName = '' }) {
async eventToApproveList({ userId, startDate = null, endDate = null, status = 1, category = null, type = null, calendarOwnerName = '' }) {
try {
const result = await this.agendaDataService.getEvents(userId, startDate = null, endDate = null, status, category = null, type = null).pipe(