File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ pub fn middleware(app: Arc<App>) -> MiddlewareBuilder {
83
83
router. get ( "/crates/:crate_id/:version/dependencies" , C ( version:: dependencies) ) ;
84
84
router. get ( "/crates/:crate_id/:version/downloads" , C ( version:: downloads) ) ;
85
85
router. get ( "/crates/:crate_id/downloads" , C ( krate:: downloads) ) ;
86
- router. get ( "/crates/:crate_id/follow" , C ( krate:: follow) ) ;
87
- router. get ( "/crates/:crate_id/unfollow" , C ( krate:: unfollow) ) ;
86
+ router. put ( "/crates/:crate_id/follow" , C ( krate:: follow) ) ;
87
+ router. put ( "/crates/:crate_id/unfollow" , C ( krate:: unfollow) ) ;
88
88
router. get ( "/crates/:crate_id/following" , C ( krate:: following) ) ;
89
89
router. get ( "/versions" , C ( version:: index) ) ;
90
90
router. get ( "/versions/:version_id" , C ( version:: show) ) ;
You can’t perform that action at this time.
0 commit comments