mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-21 10:58:23 +00:00
Make snapshot diff GET, not POST (as it doesn't change anything in the system). #168
This commit is contained in:
1 parent
d828732307
commit
ebea4f10a0
3 files changed
+6
-6
No files matched your search
+1
-1
@@ -65,7 +65,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
|
||||
root.GET("/snapshots/:name", apiSnapshotsShow)
|
||||
root.GET("/snapshots/:name/packages", apiSnapshotsSearchPackages)
|
||||
root.DELETE("/snapshots/:name", apiSnapshotsDrop)
|
||||
root.POST("/snapshots/:name/diff/:withSnapshot", apiSnapshotsDiff)
|
||||
root.GET("/snapshots/:name/diff/:withSnapshot", apiSnapshotsDiff)
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user