forked from jmug/stoatchat
chore: prototyping on user route
This commit is contained in:
@@ -3,6 +3,6 @@ use revolt_quark::{Error, Result};
|
||||
use rocket::serde::json::Value;
|
||||
|
||||
#[get("/<target>")]
|
||||
pub async fn req(/*user: UserRef, target: Ref*/ target: String) -> Result<Value> {
|
||||
pub async fn req(user: User, target: User, target: String) -> Result<Value> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user