forklaunch 1.34.0

Launch faster with forklaunch
1
2
3
4
5
6
7
8
9
10
{{#stripe}}//! Stripe and managed platform event callbacks routes; the billing
//! interface declares each operation's contract.
use crate::{api::controllers::webhook, registrations::{AppState, Routes}};

pub fn mount(routes: Routes, state: &AppState) -> Routes {
    routes
        .route("handlewebhookevent", webhook::handle_webhook_event(state))
        .route("receiveplatformevent", webhook::receive_platform_event(state))
}
{{/stripe}}