diff --git a/src/Web/Endpoints/Google.cs b/src/Web/Endpoints/Google.cs index 129e71f..8f3e323 100644 --- a/src/Web/Endpoints/Google.cs +++ b/src/Web/Endpoints/Google.cs @@ -15,8 +15,9 @@ public class Google : EndpointGroupBase public static async Task 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); } }