Skip to content

Commit 1acb2e4

Browse files
committed
fix(service): fix middleware path segment
1 parent 25e4699 commit 1acb2e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/service/src/middleware/deployment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ mod tests {
4949
};
5050

5151
let app = Router::new()
52-
.route("/:deployment_id", get(handle))
52+
.route("/{deployment_id}", get(handle))
5353
.layer(middleware);
5454

5555
let res = app

0 commit comments

Comments
 (0)