Commit f4eefcb
committed
fix: accept both string and number types for limit parameter
- Change limit schema type from 'number' to ['number', 'string']
- Fixes 400 error when n8n sends limit as string (e.g. "50" instead of 50)
- Service layer already converts with Number() for safety1 parent 3c1ff61 commit f4eefcb
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
0 commit comments