mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
12 lines
235 B
Rust
12 lines
235 B
Rust
use crate::database::*;
|
|
|
|
use rauth::auth::Session;
|
|
use rocket_contrib::json::JsonValue;
|
|
|
|
#[get("/hello")]
|
|
pub async fn req(_session: Session, user: Option<User>) -> JsonValue {
|
|
json!({
|
|
"onboarding": user.is_none()
|
|
})
|
|
}
|