mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
Adjust return code for publish create call. #116
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ func apiPublishRepoOrSnapshot(c *gin.Context) {
|
||||
c.Fail(500, fmt.Errorf("unable to save to DB: %s", err))
|
||||
}
|
||||
|
||||
c.JSON(200, published)
|
||||
c.JSON(201, published)
|
||||
}
|
||||
|
||||
// PUT /publish/:prefix/:distribution
|
||||
|
||||
Reference in New Issue
Block a user