mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 09:54:00 +00:00
remove any
This commit is contained in:
@@ -74,7 +74,7 @@ function createUser(
|
|||||||
provider: ProviderSlug,
|
provider: ProviderSlug,
|
||||||
info: IDPInformation
|
info: IDPInformation
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
const userData = (PROVIDER_MAPPING as any)[provider](info);
|
const userData = PROVIDER_MAPPING[provider](info);
|
||||||
const userService = user.getUser(server);
|
const userService = user.getUser(server);
|
||||||
return userService.addHumanUser(userData, {}).then((resp) => resp.userId);
|
return userService.addHumanUser(userData, {}).then((resp) => resp.userId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user