fix: fix audit search
This commit is contained in:
parent
12e190961c
commit
ac39d8df2e
|
|
@ -69,6 +69,7 @@ export class AuditService {
|
|||
where: {
|
||||
id: type && type !== 'all' ? { startsWith: type } : undefined,
|
||||
result: tampered ? (tampered as ResultStatus) : undefined,
|
||||
OR: search ? [{ id: { contains: search } }] : undefined,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user