feat: 获取登录方式接口优化,排除password类型
This commit is contained in:
parent
e89661326e
commit
aeb3dee4c2
|
|
@ -16,6 +16,11 @@ export async function getApplicationPassports(params, context) {
|
||||||
},
|
},
|
||||||
filter: {
|
filter: {
|
||||||
applicationId,
|
applicationId,
|
||||||
|
passport: {
|
||||||
|
type: {
|
||||||
|
$ne: 'password',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, {});
|
}, {});
|
||||||
closeRoot();
|
closeRoot();
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,11 @@ async function getApplicationPassports(params, context) {
|
||||||
},
|
},
|
||||||
filter: {
|
filter: {
|
||||||
applicationId,
|
applicationId,
|
||||||
|
passport: {
|
||||||
|
type: {
|
||||||
|
$ne: 'password',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, {});
|
}, {});
|
||||||
closeRoot();
|
closeRoot();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import { pipeline } from "oak-domain/lib/utils/executor";
|
|
||||||
import { EntityDict } from "../oak-app-domain";
|
import { EntityDict } from "../oak-app-domain";
|
||||||
import { BRC } from '../types/RuntimeCxt';
|
import { BRC } from '../types/RuntimeCxt';
|
||||||
import { generateNewIdAsync } from "oak-domain/lib/utils/uuid";
|
import { generateNewIdAsync } from "oak-domain/lib/utils/uuid";
|
||||||
|
|
@ -27,6 +26,11 @@ export async function getApplicationPassports<ED extends EntityDict>(
|
||||||
},
|
},
|
||||||
filter: {
|
filter: {
|
||||||
applicationId,
|
applicationId,
|
||||||
|
passport: {
|
||||||
|
type: {
|
||||||
|
$ne: 'password',
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{});
|
{});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue