Complete Housekeeping migration and /ase cutover #52
@@ -109,8 +109,8 @@ export async function getAuditLogs(options: GetLogsOptions = {}) {
|
||||
|
||||
const where = search
|
||||
? or(
|
||||
like(AdminAuditLog.action, `%$search%`),
|
||||
like(AdminAuditLog.target, `%$search%`),
|
||||
like(AdminAuditLog.action, `%${search}%`),
|
||||
like(AdminAuditLog.target, `%${search}%`),
|
||||
)
|
||||
: undefined;
|
||||
|
||||
|
||||
Reference in new issue
Block a user