mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(router): adding generic tokenization endpoint (#7905)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -158,7 +158,10 @@ pub fn mk_app(
|
||||
.service(routes::PaymentMethodSession::server(state.clone()))
|
||||
.service(routes::Refunds::server(state.clone()));
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "v2", feature = "oltp", feature = "tokenization_v2"))]
|
||||
{
|
||||
server_app = server_app.service(routes::Tokenization::server(state.clone()));
|
||||
}
|
||||
#[cfg(feature = "v1")]
|
||||
{
|
||||
server_app = server_app
|
||||
|
||||
Reference in New Issue
Block a user