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
{{ message }}
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.
Uncaught Invalid parameter value: 'limit'
In browser console it should throw and error saying something like:
> lisk.api().sendRequest('delegates/', {limit:undefined})
TypeError: sendRequest was called Invalid value 'undefined' of parameter 'limit'
Actual behaviour
In browser console:
> lisk.api().sendRequest('delegates/', {limit:undefined})
liskApi.js?e8ff:293 Uncaught TypeError: this.trimObj is not a function
at eval (eval at <anonymous> (http://localhost:8080/app.js:4799:2), <anonymous>:293:130)
at Array.reduce (native)
at LiskAPI.trimObj (eval at <anonymous> (http://localhost:8080/app.js:4799:2), <anonymous>:292:26)
at LiskAPI.serialiseHttpData (eval at <anonymous> (http://localhost:8080/app.js:4799:2), <anonymous>:282:20)
at LiskAPI.changeRequest (eval at <anonymous> (http://localhost:8080/app.js:4799:2), <anonymous>:247:59)
at LiskAPI.sendRequestPromise (eval at <anonymous> (http://localhost:8080/app.js:4799:2), <anonymous>:214:28)
at LiskAPI.sendRequest (eval at <anonymous> (http://localhost:8080/app.js:4799:2), <anonymous>:189:14)
at <anonymous>:1:12
It makes it difficult to figure out what actually went wrong if there are more calls and more parameters.
The text was updated successfully, but these errors were encountered:
Expected behaviour
Uncaught Invalid parameter value: 'limit'
In browser console it should throw and error saying something like:
Actual behaviour
In browser console:
It makes it difficult to figure out what actually went wrong if there are more calls and more parameters.
The text was updated successfully, but these errors were encountered: