Commit 466ed67
fix: use map[string]string for curl request headers
The API expects single-value headers (map[string]string), not
multi-value (map[string][]string). The previous type would serialize
as {"Content-Type": ["application/json"]} causing a runtime unmarshal
error on the server.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 54ba9dd commit 466ed67
1 file changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3301 | 3301 | | |
3302 | 3302 | | |
3303 | 3303 | | |
3304 | | - | |
3305 | | - | |
3306 | | - | |
3307 | | - | |
3308 | | - | |
3309 | | - | |
| 3304 | + | |
| 3305 | + | |
| 3306 | + | |
| 3307 | + | |
| 3308 | + | |
| 3309 | + | |
3310 | 3310 | | |
3311 | 3311 | | |
3312 | 3312 | | |
| |||
3317 | 3317 | | |
3318 | 3318 | | |
3319 | 3319 | | |
3320 | | - | |
| 3320 | + | |
3321 | 3321 | | |
3322 | 3322 | | |
3323 | 3323 | | |
3324 | | - | |
| 3324 | + | |
3325 | 3325 | | |
3326 | 3326 | | |
3327 | 3327 | | |
3328 | 3328 | | |
3329 | 3329 | | |
3330 | | - | |
3331 | | - | |
3332 | | - | |
| 3330 | + | |
3333 | 3331 | | |
3334 | 3332 | | |
3335 | 3333 | | |
| |||
0 commit comments