change to enum

This commit is contained in:
Peter Maquiran
2024-06-14 14:57:35 +01:00
parent d58807a219
commit 81d04332c0
@@ -82,7 +82,7 @@ export class AgendaDataRepositoryService {
}
}
async eventToApproveList({ userId, startDate = null, endDate = null, status = 1, category = null, type = null, calendarOwnerName = '' }) {
async eventToApproveList({ userId, startDate = null, endDate = null, status = EEventFilterStatus.Pending, category = null, type = null, calendarOwnerName = '' }) {
try {
const result = await this.agendaDataService.getEvents(userId, startDate = null, endDate = null, status, category = null, type = null).pipe(