fix: handle null pool and adjust week calculation rules
Build and Deploy to Kubernetes / build-and-deploy (push) Has been cancelled

This commit is contained in:
masoodafar-web
2025-12-12 04:22:16 +03:30
parent bb6b7c709c
commit db951699f8
2 changed files with 3 additions and 3 deletions
@@ -27,6 +27,6 @@ public class GetWeeklyCommissionPoolQueryHandler : IRequestHandler<GetWeeklyComm
})
.FirstOrDefaultAsync(cancellationToken);
return pool;
return pool??new WeeklyCommissionPoolDto();
}
}