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