change entity names
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import { CacheService } from '../../utils/cache.service';
|
||||
import { CacheService } from '../../../utils/cache.service';
|
||||
import { Cart } from '../interfaces/cart.interface';
|
||||
|
||||
@Injectable()
|
||||
@@ -10,7 +10,7 @@ export class CartRepository {
|
||||
constructor(private readonly cacheService: CacheService) {}
|
||||
|
||||
/**
|
||||
* Get cart by user and restaurant
|
||||
* Get cart by user and shop
|
||||
*/
|
||||
async findByUserAndRestaurant(userId: string, restaurantId: string): Promise<Cart | null> {
|
||||
const cacheKey = this.getCacheKey(userId, restaurantId);
|
||||
|
||||
Reference in New Issue
Block a user