mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
Merge branch 'dev-1.1' into dev
This commit is contained in:
commit
70b8a8e5d4
@ -386,7 +386,7 @@ class groupController extends baseController {
|
||||
if(result[i].role !== 'member'){
|
||||
newResult.unshift(result[i]);
|
||||
}else{
|
||||
let publicCount = await projectInst.countWithPublic(result[i].id);
|
||||
let publicCount = await projectInst.countWithPublic(result[i]._id);
|
||||
if(publicCount > 0){
|
||||
newResult.push(result[i]);
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user