Merge pull request #61 from Danakcorp/mrtz

add : get shop
This commit is contained in:
morteza-mortezai
2025-11-09 11:17:57 +03:30
committed by GitHub
@@ -75,8 +75,8 @@ export class AdminShopController extends BaseController {
@ApiAuth() @ApiAuth()
@httpGet("/", Guard.authAdmin()) @httpGet("/", Guard.authAdmin())
public async getAdminShop() { public async getAdminShop() {
const data = await this.shopRepo.findAdminShop(); const shop = await this.shopRepo.findAdminShop();
return this.response({ data }, HttpStatus.Ok); return this.response({ shop }, HttpStatus.Ok);
} }
//############################################################### //###############################################################