refactor(router): make stripe compatibility and certain core routes public (#190)

This commit is contained in:
ItsMeShashank
2022-12-21 14:35:43 +05:30
committed by GitHub
parent bf857cb8ee
commit 60d1ad52b1
9 changed files with 232 additions and 183 deletions

View File

@ -10,7 +10,7 @@ use crate::routes;
pub struct StripeApis;
impl StripeApis {
pub(crate) fn server(state: routes::AppState) -> Scope {
pub fn server(state: routes::AppState) -> Scope {
let max_depth = 10;
let strict = false;
web::scope("/vs/v1")