diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-30 17:41:09 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-30 17:41:09 +0700 |
| commit | 2c681de2e1f211bce95a6bd242d14220d16ec138 (patch) | |
| tree | cee3f0156763209342ac7da2e587303fd70e775f /indoteknik_api | |
| parent | 9fca7c59d523c5fd51ca696820b448ebbd8226d4 (diff) | |
<iman> update ketika register type acc tidak terdeteksi
Diffstat (limited to 'indoteknik_api')
| -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 f4fffc0e..a3eb5459 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') |
