polyphony-chat / chorus

A rust library for interacting with multiple Spacebar-compatible Instances at once.
https://crates.io/crates/chorus
Mozilla Public License 2.0
16 stars 7 forks source link

Update and add some types in support of the backend #507

Closed Quat3rnion closed 3 weeks ago

Quat3rnion commented 3 weeks ago

This should bring chorus up to speed with the channels api in regards to spacebar's current implementation.

kozabrada123 commented 3 weeks ago

called `Result::unwrap()` on an `Err` value: ReceivedErrorCode { error_code: 400, error: "{\"code\":50035,\"message\":\"Invalid Form Body\",\"errors\":{\"type\":{\"_errors\":[{\"message\":\"must be equal to one of the allowed values\",\"code\":\"enum\"}]}}}" } Hmm, seems like one of the enums isn't serialized properly

Quat3rnion commented 3 weeks ago

Hmm, it's likely the PermissionOverwriteType then.