Skip to content
Snippets Groups Projects
Commit 81de29e7 authored by insert's avatar insert
Browse files

Backtracking again, and adding the channel_type tag.

parent 984017eb
No related merge requests found
Pipeline #492 canceled with stage
......@@ -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")]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment