subscription start and end date
This commit is contained in:
@@ -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 } } },
|
||||
|
||||
Reference in New Issue
Block a user