diff options
| author | Indoteknik . <it@fixcomart.co.id> | 2025-08-15 18:04:51 +0700 |
|---|---|---|
| committer | Indoteknik . <it@fixcomart.co.id> | 2025-08-15 18:04:51 +0700 |
| commit | b6da6f96857b87f6433c9550085d86adf9319d08 (patch) | |
| tree | cdd83303bd2a1827fc9ab0317bc494f6d4e78ba5 /indoteknik_api/controllers/api_v1/user.py | |
| parent | 8dd70f877c68abb3f0331e18f4652acb11e1bf84 (diff) | |
(andri) fix api
Diffstat (limited to 'indoteknik_api/controllers/api_v1/user.py')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 2 |
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 b5b7e055..1d35e01f 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -678,7 +678,7 @@ class User(controller.Controller): return self.response(response) @http.route(prefix + 'user/<id>/switch_progres', auth='public', methods=['GET', 'OPTIONS'], csrf=False) - # @controller.Controller.must_authorized() + @controller.Controller.must_authorized() def switch_account_progres(self, **kw): id = int(kw.get('id')) # user = request.env['res.partner'].search([('id', '=', id)], limit=1) |
