diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-26 14:51:03 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-26 14:51:03 +0700 |
| commit | 9166e4dfc6c42aed768e333b0f0c9be016c44d72 (patch) | |
| tree | 365a6717608d5b539a5db2d0c8cebbd512d06290 /indoteknik_api/controllers/api_v1 | |
| parent | 2813f944bb28906bdc7348bb7437af77a85c68cf (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.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 |
