From 330ac8d73cb0a5de14f8ffb4c61d49a5d9f4ba15 Mon Sep 17 00:00:00 2001 From: morteza-mortezai Date: Sun, 9 Nov 2025 11:13:10 +0330 Subject: [PATCH] add : get shop --- src/modules/admin/controllers/shop.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/admin/controllers/shop.controller.ts b/src/modules/admin/controllers/shop.controller.ts index f715d9d..eabd2ca 100644 --- a/src/modules/admin/controllers/shop.controller.ts +++ b/src/modules/admin/controllers/shop.controller.ts @@ -75,8 +75,8 @@ export class AdminShopController extends BaseController { @ApiAuth() @httpGet("/", Guard.authAdmin()) public async getAdminShop() { - const data = await this.shopRepo.findAdminShop(); - return this.response({ data }, HttpStatus.Ok); + const shop = await this.shopRepo.findAdminShop(); + return this.response({ shop }, HttpStatus.Ok); } //###############################################################