feat: add base package payment initiation and verification
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m39s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 3m39s
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ public class AdminGetJwtTokenQueryHandler : IRequestHandler<AdminGetJwtTokenQuer
|
||||
.ThenInclude(u => u.Contract)
|
||||
.Include(u => u.UserRoles)
|
||||
.ThenInclude(ur => ur.Role)
|
||||
|
||||
.Include(u => u.ClubMembership)
|
||||
.FirstOrDefaultAsync(f => f.Mobile == request.Username, cancellationToken);
|
||||
if (user == null)
|
||||
throw new Exception("Invalid username or password.");
|
||||
|
||||
@@ -17,6 +17,7 @@ public class GetJwtTokenQueryHandler : IRequestHandler<GetJwtTokenQuery, GetJwtT
|
||||
.ThenInclude(u => u.Contract)
|
||||
.Include(u => u.UserRoles)
|
||||
.ThenInclude(ur => ur.Role)
|
||||
.Include(u => u.ClubMembership)
|
||||
.FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(User), request.Id);
|
||||
return new GetJwtTokenResponseDto()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user