Removed test console

This commit is contained in:
Kamigen
2024-04-16 17:00:21 -04:00
parent 2b1f470353
commit e05bd894b3

View File

@@ -15,8 +15,9 @@ public class Google : EndpointGroupBase
public static async Task<Guid> CreateGoogleUser(ISender sender, CreateGoogleUserCommand command, IUserService userService, IGoogleService googleService)
{
var user = await googleService.GetUserInfoAsync(command.AccessToken) ?? throw new Exception("Failed to get user info from Google");
Console.WriteLine(user);
await userService.CreateUserAsync(user);
return await sender.Send(command);
}
}