diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-10-01 09:07:55 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-10-01 09:07:55 +0700 |
| commit | f8ba3deeab30a5eee7ccfcbe9cf8a7e664d0bde7 (patch) | |
| tree | 00bd61d4abac0c87f5405db6595aa4709f7f416a /indoteknik_api/controllers/api_v1/user.py | |
| parent | cb81068b8b695eaf8de5c0ba6b0951bae436626e (diff) | |
| parent | b9f1f1a02e53b1b874d8cfe5a97f8400bc4f4cbc (diff) | |
Merge branch 'production' into iman/switch-account
# Conflicts:
# indoteknik_api/controllers/api_v1/partner.py
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 a4655417..b66e0f3c 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -123,7 +123,7 @@ class User(controller.Controller): alamat_bisnis = kw.get('alamat_bisnis', False) nama_wajib_pajak = kw.get('nama_wajib_pajak', False) is_pkp = kw.get('is_pkp') - type_acc = kw.get('type_acc', False) + type_acc = kw.get('type_acc', 'individu') or 'individu' if not name or not email or not password: return self.response(code=400, description='email, name, and password are required') |
