forked from jmug/stoatchat
Backtracking again, and adding the channel_type tag.
This commit is contained in:
1 parent
984017eb61
commit
81de29e723
1 file changed
+1
-1
@@ -6,7 +6,7 @@ use rocket_contrib::json::JsonValue;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
#[serde(tag = "type")]
|
||||
#[serde(tag = "channel_type")]
|
||||
pub enum Channel {
|
||||
SavedMessages {
|
||||
#[serde(rename = "_id")]
|
||||
|
||||
Reference in new issue
Block a user