mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 05:33:31 +00:00
fix build
This commit is contained in:
@@ -5,7 +5,10 @@ export async function POST(request: NextRequest) {
|
||||
const body = await request.json();
|
||||
if (body) {
|
||||
const { loginName, organization } = body;
|
||||
return listUsers(loginName, organization).then((users) => {
|
||||
return listUsers({
|
||||
userName: loginName,
|
||||
organizationId: organization,
|
||||
}).then((users) => {
|
||||
if (
|
||||
users.details &&
|
||||
Number(users.details.totalResult) == 1 &&
|
||||
|
||||
Reference in New Issue
Block a user