forked from jmug/stoatchat
Refractor route code.
This commit is contained in:
7
src/routes/onboard/hello.rs
Normal file
7
src/routes/onboard/hello.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use crate::util::result::Result;
|
||||
use rauth::auth::Session;
|
||||
|
||||
#[get("/hello")]
|
||||
pub async fn req(session: Session) -> Result<String> {
|
||||
Ok("try onboard user".to_string())
|
||||
}
|
||||
Reference in New Issue
Block a user