mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 20:40:12 +08:00
feat(openapi): add payment get to openapi (#6539)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
This commit is contained in:
@ -51,8 +51,8 @@ pub mod routes {
|
||||
|
||||
impl Analytics {
|
||||
#[cfg(feature = "v2")]
|
||||
pub fn server(_state: AppState) -> Scope {
|
||||
todo!()
|
||||
pub fn server(state: AppState) -> Scope {
|
||||
web::scope("/analytics").app_data(web::Data::new(state))
|
||||
}
|
||||
#[cfg(feature = "v1")]
|
||||
pub fn server(state: AppState) -> Scope {
|
||||
|
||||
Reference in New Issue
Block a user