add : get shop

This commit is contained in:
morteza-mortezai
2025-11-09 11:13:10 +03:30
parent afefc9d458
commit 330ac8d73c
@@ -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);
}
//###############################################################