fix: Use correct enum tagging for invites

This commit is contained in:
Zomatree
2024-05-15 22:48:20 +01:00
parent 08127218ce
commit 471e0f55e4
3 changed files with 54 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ use super::{Channel, File, Server, User};
auto_derived!(
/// Invite
#[serde(tag = "type")]
pub enum Invite {
/// Invite to a specific server channel
Server {