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