Refractor route code.

This commit is contained in:
Paul Makles
2020-12-28 18:32:13 +00:00
parent c748b4349b
commit 16c5a28637
10 changed files with 52 additions and 2319 deletions

View 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())
}