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 May 10, 2024. It is now read-only.
Description
PUT requests appear to be broken.
Trying to use client.updateWatchlist complains about a malformed request.
It looks like there is a conditional in the request method that needs to be updated
CURRENT: if (params.method != 'POST' && params.method != 'PATCH') {
CHANGE TO: if (!['POST','PATCH','PUT'].includes(params.method)) {
Expected
A clear and concise description of what you expected to happen.
The watchlist should get updated properly.
Reproduction
Steps we can take to reproduce the bug:
Just try using client.updateWatchlist and it will generate an error from the server due to a malformed request.
Logs
If applicable, add logs to help explain the bug.
Additional
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: