Skip to content

Commit

Permalink
fix: add config create route back (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
dracarys18 authored Jun 28, 2023
1 parent 041ecbb commit 379d1d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/router/src/routes/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 379d1d1

Please sign in to comment.