Added skorubauserservice tests
This commit is contained in:
@@ -147,7 +147,7 @@ public sealed class UserService(IDbContextFactory<ApplicationDbContext> contextF
|
||||
if (await context.Users.AnyAsync(u => u.Email == email, cancellationToken))
|
||||
return Result.Fail(ValidationError.Create("User with this email already exists."));
|
||||
|
||||
var createUserResult = await skorubaService.CreateUserAsync(request, userId, cancellationToken);
|
||||
var createUserResult = await skorubaService.CreateUserAsync(request, cancellationToken);
|
||||
|
||||
if (createUserResult.IsFailed)
|
||||
return Result.Fail(CreateError.Create("Failed to create user."));
|
||||
|
||||
Reference in New Issue
Block a user