nickelc / modiom

Command-line tool for https://mod.io to search, upload, download and update mods for games without builtin support.
Apache License 2.0
7 stars 0 forks source link

invalid value decoding community_options #4

Open normanr opened 3 months ago

normanr commented 3 months ago

I'm seeing:

$ modiom subscriptions list 
error decoding response body: invalid value: integer `1025`, expected u8 at line 1 column 691

based on DevTools in the browser I'm pretty sure this is from "community_options": 1025. https://docs.mod.io/restapiref/#mod-object documents 1024 as "Allow dependencies".

It looks like this was added to modio-rs (in https://github.com/nickelc/modio-rs/commit/a3e872f8085df0f3d32f384cfd7c38270ef9c739, released in 0.11), but modiom hasn't been updated to pick up the change yet.

nickelc commented 3 months ago

Thanks for reporting the issue.

I released v0.5.2 to fix it.