feat: 获取登录方式接口优化,排除password类型

This commit is contained in:
lxy 2025-11-18 12:08:15 +08:00
parent e89661326e
commit aeb3dee4c2
3 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,11 @@ export async function getApplicationPassports(params, context) {
},
filter: {
applicationId,
passport: {
type: {
$ne: 'password',
}
}
}
}, {});
closeRoot();

View File

@ -20,6 +20,11 @@ async function getApplicationPassports(params, context) {
},
filter: {
applicationId,
passport: {
type: {
$ne: 'password',
}
}
}
}, {});
closeRoot();

View File

@ -1,4 +1,3 @@
import { pipeline } from "oak-domain/lib/utils/executor";
import { EntityDict } from "../oak-app-domain";
import { BRC } from '../types/RuntimeCxt';
import { generateNewIdAsync } from "oak-domain/lib/utils/uuid";
@ -27,6 +26,11 @@ export async function getApplicationPassports<ED extends EntityDict>(
},
filter: {
applicationId,
passport: {
type: {
$ne: 'password',
}
}
}
},
{});