summaryrefslogtreecommitdiff
path: root/indoteknik_api/controllers
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-08-16 14:52:40 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-08-16 14:52:40 +0700
commitfc1527eda174b290dee393abec15574cf1bac780 (patch)
treea33552189519daf9bb2736f8c710aa0cb634eb96 /indoteknik_api/controllers
parent2e1c1c057b76964f4c919371209c1216df53f222 (diff)
fix
Diffstat (limited to 'indoteknik_api/controllers')
-rw-r--r--indoteknik_api/controllers/api_v1/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py
index 28ac8a5e..dde30fec 100644
--- a/indoteknik_api/controllers/api_v1/user.py
+++ b/indoteknik_api/controllers/api_v1/user.py
@@ -677,7 +677,7 @@ class User(controller.Controller):
response['switch'] = 'pending'
return self.response(response)
- @http.route(prefix + 'user/<id>/switch_progres', auth='public', methods=['GET', 'OPTIONS'], csrf=False)
+ @http.route(prefix + 'user/<id>/switch_progres', auth='public', methods=['GET', 'OPTIONS'])
@controller.Controller.must_authorized()
def switch_account_progres(self, **kw):
id = int(kw.get('id'))