autoendpoint::routers::common

Function build_message_data

source
pub fn build_message_data(
    notification: &Notification,
) -> Result<HashMap<&'static str, String>, ApiError>
Expand description

Convert a notification into a WebPush message