mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
fix: add config create route back (#1559)
This commit is contained in:
@ -425,6 +425,7 @@ impl Configs {
|
||||
pub fn server(config: AppState) -> Scope {
|
||||
web::scope("/configs")
|
||||
.app_data(web::Data::new(config))
|
||||
.service(web::resource("/").route(web::post().to(config_key_create)))
|
||||
.service(
|
||||
web::resource("/{key}")
|
||||
.route(web::get().to(config_key_retrieve))
|
||||
|
||||
Reference in New Issue
Block a user