|
|
@ -36,7 +36,7 @@ async function pomsProject (ctx) { |
|
|
|
} |
|
|
|
} |
|
|
|
if (global && !userInfo.role.includes('SuperAdmin') && !userInfo.role.includes('admin')) { |
|
|
|
findOption.where = { id: { $in: userInfo.correlationProject } } |
|
|
|
findOption.where.id = { $in: userInfo.correlationProject } |
|
|
|
} |
|
|
|
if (pepId) { |
|
|
|
findOption.where.id = pepId |
|
|
|