summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1/blog.py
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2022-10-24 15:54:27 +0700
committerIT Fixcomart <it@fixcomart.co.id>2022-10-24 15:54:27 +0700
commita069927b8f9b2b5942dffc241ed8b79f2d57ecf8 (patch)
treec465c665e93b76cf938c1eef76a76ef9be664f8c /indoteknik_api/controllers/api_v1/blog.py
parent3270307c573ca7a8970899dcc7ee02aa7260a6cb (diff)
Filter price_from and price_to di product Rest API
Diffstat (limited to 'indoteknik_api/controllers/api_v1/blog.py')
-rw-r--r--indoteknik_api/controllers/api_v1/blog.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/blog.py b/indoteknik_api/controllers/api_v1/blog.py
index 8d38e4f7..af7c4245 100644
--- a/indoteknik_api/controllers/api_v1/blog.py
+++ b/indoteknik_api/controllers/api_v1/blog.py
@@ -11,7 +11,6 @@ class Blog(controller.Controller):
if not self.authenticate():
return self.response(code=401, description='Unauthorized')
- base_url = request.env['ir.config_parameter'].get_param('web.base.url')
limit = int(kw.get('limit', 0))
offset = int(kw.get('offset', 0))
query = [('active', '=', True)]