@ -249,7 +249,6 @@ async function apiErrorList (ctx) {
${pepProjectSql}
WHERE project_name LIKE '%${keyword}%'`
).toPromise()
if (projectRes.length) {
findOption.where.$or.push(
{
'$app->projectCorrelations.pep_project_id$': {
@ -259,7 +258,6 @@ async function apiErrorList (ctx) {
}
)
// if (errType) {
// if (errType == 'element') {