use axum::{Json, extract::State, http::StatusCode}; use web_push::WebPushClient; use crate::{error::Internal, push::app::Push, token::extract::Identity}; #[cfg(test)] mod test; #[derive(serde::Deserialize)] pub struct Request {} pub async fn handler
(
State(push): State