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 annotation for this method defines the price argument as
@param {Float} price - The price as a float
However this will only work if the value has significant digits to the penny. It does work with a string, however. To fix this, a numerical price argument could be cast as a string with .toFixed(2) before submission.
discogs.marketplace().fee(10.00, log);
> { [DiscogsError: The requested resource was not found.] (...etc)
discogs.marketplace().fee('10.00', log);
> { currency: 'USD', value: 0.8 }
The text was updated successfully, but these errors were encountered:
The annotation for this method defines the price argument as
However this will only work if the value has significant digits to the penny. It does work with a string, however. To fix this, a numerical price argument could be cast as a string with .toFixed(2) before submission.
The text was updated successfully, but these errors were encountered: