Migrate the rest of the code.

This commit is contained in:
Paul
2021-08-06 17:24:16 +01:00
committed by Paul Makles
parent 9fec4e48c0
commit 382972ea22
12 changed files with 49 additions and 216 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ pub async fn req(user: User, target: Ref, msg: Ref, edit: Json<Data>) -> Result<
}
let obj = update.as_object_mut().unwrap();
obj.insert("embeds".to_string(), json!(new_embeds).0);
obj.insert("embeds".to_string(), json!(new_embeds));
set.insert("embeds", new_embeds);
}