diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-13 11:40:44 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-13 11:40:44 +0700 |
| commit | 6fe453ed5da6cfda56f4af454dbedc00b97f0f9e (patch) | |
| tree | 7d088c21df7a7ac74d896259aefa94d940920294 /indoteknik_api/models | |
| parent | 7460334ff51a0bb1d049730f3c3577bf262db59e (diff) | |
simplify authentication
Diffstat (limited to 'indoteknik_api/models')
| -rw-r--r-- | indoteknik_api/models/res_users.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_api/models/res_users.py b/indoteknik_api/models/res_users.py index 8eddc85e..e5b4bed6 100644 --- a/indoteknik_api/models/res_users.py +++ b/indoteknik_api/models/res_users.py @@ -20,6 +20,7 @@ class ResUsers(models.Model): def api_address_response(self, user): data = { 'id': user.id, + 'type': user.type, 'name': user.name, 'mobile': user.mobile, 'street': user.street, |
