13 lines
259 B
Rust
13 lines
259 B
Rust
use axum::http::StatusCode;
|
|
use axum::Json;
|
|
use serde::Serialize;
|
|
|
|
pub(crate) async fn hook() -> (StatusCode, Json<HookResponse>) {
|
|
(StatusCode::OK, Json(HookResponse { ok: true }))
|
|
}
|
|
|
|
#[derive(Serialize)]
|
|
pub(crate) struct HookResponse {
|
|
ok: bool,
|
|
}
|