feat: implement channel invites, perms, group create, members fetch

chore: when you accidentally run fmt
This commit is contained in:
Paul Makles
2022-02-04 21:50:30 +00:00
parent b58755dbeb
commit 88f811761b
59 changed files with 536 additions and 195 deletions

View File

@@ -1,9 +1,9 @@
use revolt_quark::models::User;
use revolt_quark::{Result, Database};
use revolt_quark::{Database, Result};
use mongodb::bson::doc;
use rocket::State;
use rocket::serde::json::Json;
use rocket::State;
#[delete("/<username>/friend")]
pub async fn req(db: &State<Database>, user: User, username: String) -> Result<Json<User>> {