mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
12 lines
153 B
Rust
12 lines
153 B
Rust
use super::Response;
|
|
|
|
use bson::doc;
|
|
|
|
/// root
|
|
#[get("/")]
|
|
pub fn root() -> Response {
|
|
Response::Success(json!({
|
|
"revolt": "0.0.1"
|
|
}))
|
|
}
|