subscription start and end date

This commit is contained in:
2025-12-26 19:32:06 +03:30
parent a85ebaada4
commit 2b1f8df6b9
6 changed files with 25 additions and 4 deletions
@@ -219,7 +219,7 @@ export class PaymentsService {
return payment;
}
findAllByRestaurantId(restId: string, userId: string) {
findAllPaymentsByRestaurantId(restId: string, userId: string) {
return this.em.find(
Payment,
{ order: { restaurant: { id: restId }, user: { id: userId } } },