Skip to content

Commit

Permalink
inventory route pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed Aug 15, 2024
1 parent e87c705 commit 5476662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasm-components/rust/http-controller/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fn handle(request: IncomingRequest) -> Result<(StatusCode, String)> {
.add("/data-init/:action", Handlers::DataInit)
.map_err(|e| anyhow!("adding route: {}", e))?;
router
.add("/inventory/*", Handlers::Inventory)
.add("/inventory", Handlers::Inventory)
.map_err(|e| anyhow!("adding route: {}", e))?;
router
.add("/orders", Handlers::Orders)
Expand Down

0 comments on commit 5476662

Please sign in to comment.