all food endponit
This commit is contained in:
@@ -163,10 +163,9 @@ export class RestaurantsService {
|
||||
async findAllActiveRestaurants(): Promise<ActiveRestaurantListItemDto[]> {
|
||||
const restaurants = await this.restRepository.findAllActive();
|
||||
|
||||
return restaurants.map(({ slug, name, seoTitle, address, score, logo, establishedYear }) => ({
|
||||
return restaurants.map(({ slug, name, address, logo, establishedYear }) => ({
|
||||
slug,
|
||||
name,
|
||||
title: seoTitle,
|
||||
address,
|
||||
logo,
|
||||
establishedYear,
|
||||
|
||||
Reference in New Issue
Block a user