diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-25 11:13:47 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-25 11:13:47 +0700 |
| commit | 3883fef482c5c4cd13a6fc9dd73e51de82223b50 (patch) | |
| tree | ab54291b759d44473e0000ff7ae7f28d469f0eb1 /indoteknik_api/controllers/api_v1/content.py | |
| parent | 93d049139c2be8a70d32145a89e8b6e34732d56d (diff) | |
Sale Order Detail
Diffstat (limited to 'indoteknik_api/controllers/api_v1/content.py')
| -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 32828244..3e175dc4 100644 --- a/indoteknik_api/controllers/api_v1/content.py +++ b/indoteknik_api/controllers/api_v1/content.py @@ -6,8 +6,8 @@ from odoo.http import request class WebsiteContent(controller.Controller): prefix = '/api/v1/' - @http.route(prefix + 'banner', auth='public', methods=['GET', 'OPTIONS']) - def get_banner(self, **kw): + @http.route(prefix + 'banner/category', auth='public', methods=['GET', 'OPTIONS']) + def get_banner_by_category(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') |
