summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers/api_v1
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-26 14:51:03 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-26 14:51:03 +0700
commit9166e4dfc6c42aed768e333b0f0c9be016c44d72 (patch)
tree365a6717608d5b539a5db2d0c8cebbd512d06290 /indoteknik_api/controllers/api_v1
parent2813f944bb28906bdc7348bb7437af77a85c68cf (diff)
<iman> update return data api category lob
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
-rw-r--r--indoteknik_api/controllers/api_v1/category_management_lob.py5
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