From af46805f7f69b29cc4e0e3ca2e5cf53dd338be5d Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 26 Jan 2023 11:22:34 +0700 Subject: api banner brand --- indoteknik_api/controllers/api_v1/content.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indoteknik_api/controllers/api_v1') diff --git a/indoteknik_api/controllers/api_v1/content.py b/indoteknik_api/controllers/api_v1/content.py index c5b6fd71..2d788306 100644 --- a/indoteknik_api/controllers/api_v1/content.py +++ b/indoteknik_api/controllers/api_v1/content.py @@ -31,8 +31,8 @@ class WebsiteContent(controller.Controller): - @http.route(prefix + 'banner/category', auth='public', methods=['GET', 'OPTIONS']) - def get_banner_by_category(self, **kw): + @http.route(prefix + 'banner/brand', auth='public', methods=['GET', 'OPTIONS']) + def get_banner_by_brand(self, **kw): if not self.authenticate(): return self.response(code=401, description='Unauthorized') # base_url = request.env['ir.config_parameter'].get_param('web.base.url') -- cgit v1.2.3