diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-12-09 15:05:00 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-12-09 15:05:00 +0700 |
| commit | 31374ed669121ba6c8ec401f82ad0bfedf07a6d6 (patch) | |
| tree | 0aa9bf91134ad7fe07142c37873ddeed3b6f3c71 /indoteknik_api/models | |
| parent | 02eacd54387953f42a884a22544e2f7c94081536 (diff) | |
| parent | 2123dbaab7b4ff49d90336d34e2be76e8eb07f8e (diff) | |
Merge branch 'production' into iman/pengajuan-tempo
Diffstat (limited to 'indoteknik_api/models')
| -rw-r--r-- | indoteknik_api/models/res_users.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/models/res_users.py b/indoteknik_api/models/res_users.py index 93204a96..d9329f67 100644 --- a/indoteknik_api/models/res_users.py +++ b/indoteknik_api/models/res_users.py @@ -79,7 +79,7 @@ class ResUsers(models.Model): data['state_id'] = { 'id': user.state_id.id, 'name': user.state_id.name - } or None + } or 0 if user.kota_id: data['city'] = { |
