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