summaryrefslogtreecommitdiff
path: root/rust/src/routes/hello.rs
blob: c356081ec1ba2893fa75162ca692b067cc3d38f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
use crate::AppState;
use actix_web::{get, web, HttpResponse};
use serde::Deserialize;

#[get("/hello")]
pub async fn hello_actix(app_state: web::Data<AppState>) -> HttpResponse {
    struct Song {
    }

    return HttpResponse::Ok().json(databases);
}