feat(channels): add / remove group members

This commit is contained in:
Paul Makles
2022-02-04 22:11:18 +00:00
parent 88f811761b
commit e367c42dca
3 changed files with 44 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
use revolt_quark::{Error, Result};
use revolt_quark::{Result, models::User, Ref};
use rocket::serde::json::Value;
use serde::{Deserialize, Serialize};
@@ -8,7 +8,7 @@ struct CreateUserResponse {
token: String,
}
#[post("/<target>/join_call")]
pub async fn req(/*user: UserRef, target: Ref,*/ target: String) -> Result<Value> {
#[post("/<_target>/join_call")]
pub async fn req(_user: User, _target: Ref) -> Result<Value> {
todo!()
}