webhook_bridge/src/webhook.rs
2024-07-14 16:13:06 -04:00

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,
}