Commit Graph

6 Commits

Author SHA1 Message Date
fac607719d Move the CreateResult enum into the releases mod
This thing only needs to exist so Serde can decode the response JSON
properly. I'll either get a success, a missing token, *no body at all
which doesnt' make sense*, or some other ApiError text. In all cases,
the crate::Result is returned. This thing doesn't need to be public.
2025-06-01 11:07:11 -05:00
ee42e09620 Fix API response decoding -- sometimes it's an err
The reqwest might work, but the API still returns an error message.
I forgot about this old hack I had left around because I'm a big dummy.
2025-05-31 22:46:54 -05:00
4250deb419 Implement new fn create_release() 2025-05-28 20:27:52 -05:00
d3a0d3f67e Fix the URL path to actually go to the API 2025-05-28 19:27:32 -05:00
472e592400 Implement the new ::api::list_releases function 2025-05-27 23:03:09 -05:00
84bd7fe990 Fix release API module's name 2025-05-27 20:52:23 -05:00