docs: add todos/fixmes

This commit is contained in:
Radical 2025-04-29 22:13:41 +02:00
parent 70577fbe56
commit 11f89a2380
4 changed files with 11 additions and 1 deletions

View file

@ -18,12 +18,14 @@ struct Response {
#[get("/stats")]
pub async fn res(data: web::Data<Data>) -> impl Responder {
let response = Response {
// TODO: Get number of accounts from db
accounts: 0,
uptime: SystemTime::now()
.duration_since(data.start_time)
.expect("Seriously why dont you have time??")
.as_secs(),
version: String::from(VERSION.unwrap_or("UNKNOWN")),
// TODO: Get build number from git hash or remove this from the spec
build_number: String::from("how do i implement this?"),
};