Commit 6400965
committed
fix: correct API parameter formats based on live testing
- Reverted preset values back to kebab-case (social-security-number)
as the API rejects camelCase format for presets
- Optimize is correctly implemented as output option, not action
- Password protection works with camelCase parameters
API testing revealed:
- Presets use kebab-case: 'social-security-number' not 'socialSecurityNumber'
- Optimize is an output option, not an action type
- Password parameters use camelCase: 'userPassword', 'ownerPassword'
IMPORTANT: Rotate API key that was accidentally exposed during debugging\!1 parent 18b8e1f commit 6400965
File tree
2 files changed
+11
-5
lines changed- src/nutrient_dws/api
- tests/integration
2 files changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
| 298 | + | |
| 299 | + | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
537 | 543 | | |
538 | 544 | | |
539 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments