mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-22 11:08:20 +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
@@ -333,7 +333,7 @@ func apiSnapshotsDrop(c *gin.Context) {
|
||||
c.JSON(200, gin.H{})
|
||||
}
|
||||
|
||||
// POST /api/snapshots/:name/diff/:name2
|
||||
// GET /api/snapshots/:name/diff/:withSnapshot
|
||||
func apiSnapshotsDiff(c *gin.Context) {
|
||||
onlyMatching := c.Request.URL.Query().Get("onlyMatching") == "1"
|
||||
|
||||
|
||||
Reference in new issue
Block a user