forklaunch 1.35.0

Launch faster with forklaunch
1
2
3
4
5
6
7
8
9
//! Provider payments routes; the ecommerce
//! interface declares each operation's contract.
use crate::{api::controllers::payment, registrations::{AppState, Routes}};

pub fn mount(routes: Routes, state: &AppState) -> Routes {
    routes
        .route("createPayment", payment::create_payment(state))
        .route("getPayment", payment::get_payment(state))
}