mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 16:20:14 +01:00
autofix: fix unused method receiver (#6808)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b7372b1f32
commit
09dbbf9a69
@@ -121,7 +121,7 @@ func (h *basicHandler) serveUpload(c *macaron.Context, repo *db.Repository, oid
|
||||
}
|
||||
|
||||
// POST /{owner}/{repo}.git/info/lfs/object/basic/verify
|
||||
func (h *basicHandler) serveVerify(c *macaron.Context, repo *db.Repository) {
|
||||
func (*basicHandler) serveVerify(c *macaron.Context, repo *db.Repository) {
|
||||
var request basicVerifyRequest
|
||||
defer c.Req.Request.Body.Close()
|
||||
err := json.NewDecoder(c.Req.Request.Body).Decode(&request)
|
||||
|
||||
Reference in New Issue
Block a user