diff options
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/category_management_lob.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indoteknik_api/controllers/api_v1/category_management_lob.py b/indoteknik_api/controllers/api_v1/category_management_lob.py index 0f666f2f..e453e402 100644 --- a/indoteknik_api/controllers/api_v1/category_management_lob.py +++ b/indoteknik_api/controllers/api_v1/category_management_lob.py @@ -30,7 +30,4 @@ class BrandHomepage(controller.Controller): 'category_ids': category_ids }) - return request.make_response( - json.dumps(data), - headers=[('Cache-Control', 'max-age=3600, public'), ('Content-Type', 'application/json')] - ) + return self.response(data, headers=[('Cache-Control', 'max-age=3600, public')])
\ No newline at end of file |
