@@ -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);
|
||||
}
|
||||
|
||||
//###############################################################
|
||||
|
||||
Reference in New Issue
Block a user