diff options
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/content.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |
