summaryrefslogtreecommitdiff
path: root/indoteknik_api/models
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-01-13 04:41:16 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-01-13 04:41:16 +0000
commit45b8c4757ba6107037c3e1f1e2a64c9e47e8ae48 (patch)
tree7d088c21df7a7ac74d896259aefa94d940920294 /indoteknik_api/models
parent0f8fbe56e89ec285c6fbcdd2bed5a67f62bcfe59 (diff)
parent6fe453ed5da6cfda56f4af454dbedc00b97f0f9e (diff)
Merged in staging (pull request #19)
Staging
Diffstat (limited to 'indoteknik_api/models')
-rw-r--r--indoteknik_api/models/res_users.py1
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,