version19

This commit is contained in:
jaehwang committed 2025-12-11 16:24:16 +09:00
1 parent d820394ccc
commit 07a3a1093b
59 files changed
+19645 -2399

No files matched your search

+10 -3
View File
@@ -139,9 +139,16 @@ def connect_account():
'error_code': 'NO_DATA'
}), 400
username = data.get('username', '').strip()
password = data.get('password', '').strip()
verification_code = data.get('verification_code', '').strip()
# None 값 안전하게 처리
raw_username = data.get('username')
raw_password = data.get('password')
raw_verification = data.get('verification_code')
logger.info(f"[DEBUG] raw values - username: {type(raw_username)}, password: {type(raw_password)}, verification: {type(raw_verification)}")
username = str(raw_username).strip() if raw_username else ''
password = str(raw_password).strip() if raw_password else ''
verification_code = str(raw_verification).strip() if raw_verification else ''
if not username or not password:
return jsonify({