You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
feonit
changed the title
can't to use "id" as a string in the case that it looks like a natural number
Can't to use "id" as a string in the case that it looks like a natural number
Sep 29, 2016
You have to use an integer for the id. For example, { "id": 177 } should work fine.
I'm working on improving that on the next branch, so that "177" can be used as well.
But it's not yet ready to be published. I'll update this issue when it'll be available on npm.
I've published v0.9.0-beta.2. It should let you use id as string.
It's a beta so there may be some other issues, let me know if you find anything else.
I have:
but the request:
GET /regions/177
is empty
If i remove code from test/server/units.js:
to:
it works fine. What is wrong?
The text was updated successfully, but these errors were encountered: