Fix Document API field names to match Go backend
- Change residence to residence_id with @SerialName annotation - Change contractor to contractor_id with @SerialName annotation - Update DocumentApi.kt to use correct field names in form data and JSON requests - Fixes iOS document creation failing with "missing residence_id" error 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "logo_primary.png",
|
||||
"filename" : "mycrib-icon@2x.png",
|
||||
"idiom" : "universal",
|
||||
"platform" : "ios",
|
||||
"size" : "1024x1024"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 21 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 638 KiB |
Reference in New Issue
Block a user