Skip to content

Commit

Permalink
chore: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperswitch-bot[bot] committed Jan 2, 2024
1 parent 488255d commit 058054f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions crates/router/src/routes/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,17 @@ impl PaymentMethods {
.route(web::post().to(create_payment_method_api))
.route(web::get().to(list_payment_method_api)), // TODO : added for sdk compatibility for now, need to deprecate this later
)
.service(web::resource("/block").route(web::post().to(pm_blacklist::block_payment_method)))
.service(web::resource("/unblock").route(web::post().to(pm_blacklist::unblock_payment_method)))
.service(web::resource("/blocklist").route(web::get().to(pm_blacklist::list_blocked_payment_methods)))
.service(
web::resource("/block").route(web::post().to(pm_blacklist::block_payment_method)),
)
.service(
web::resource("/unblock")
.route(web::post().to(pm_blacklist::unblock_payment_method)),
)
.service(
web::resource("/blocklist")
.route(web::get().to(pm_blacklist::list_blocked_payment_methods)),
)
.service(
web::resource("/{payment_method_id}")
.route(web::get().to(payment_method_retrieve_api))
Expand Down

0 comments on commit 058054f

Please sign in to comment.