`all_time` and `last_month` fields for `payouts` endpoint documented with wrong type
Closed this issue · 1 comments
bluebear94 commented
Describe the bug
The all_time
and last_month
fields for the response in the payouts
endpoint are documented as being integers instead of numbers, while the examples, as well as the API itself, give non-integer values for these fields.
Steps to reproduce
- Go to https://docs.modrinth.com/api-spec/#tag/users/operation/getPayoutHistory
- Open the 200 dropdown
Expected behavior
all_time
and last_month
are documented as being numbers.
Additional context
It might also be helpful to specify that these values are expressed in USD.
bluebear94 commented
These fields are also returned as strings, so we’ll have to note that in the docs, too.