From 89cea36b17daef28d6ee9f57a6a0f4658493e799 Mon Sep 17 00:00:00 2001 From: IT Fixcomart Date: Sat, 19 Nov 2022 09:47:28 +0700 Subject: Fix bug conflict function name manufacture --- indoteknik_api/controllers/api_v1/manufacture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indoteknik_api/controllers/api_v1') diff --git a/indoteknik_api/controllers/api_v1/manufacture.py b/indoteknik_api/controllers/api_v1/manufacture.py index 5b9d57b2..544113f2 100644 --- a/indoteknik_api/controllers/api_v1/manufacture.py +++ b/indoteknik_api/controllers/api_v1/manufacture.py @@ -32,7 +32,7 @@ class Manufacture(controller.Controller): return self.response(data) @http.route(prefix + 'manufacture/', auth='public', methods=['GET', 'OPTIONS']) - def get_manufacture(self, **kw): + def get_manufacture_by_id(self, **kw): if not self.authenticate(): return self.response(code=401, description='Unauthorized') -- cgit v1.2.3