fix goimports

This commit is contained in:
Prateek Sachan 2020-03-30 14:24:58 +05:30
parent b943e73b1c
commit 5b7ef10aae

View file

@ -62,7 +62,7 @@ func Setup(
r0mux.Handle("/upload", common.MakeAuthAPI(
"upload", authData,
func(req *http.Request, dev *authtypes.Device) util.JSONResponse {
return Upload(req, cfg, dev, db, activeThumbnailGeneration, )
return Upload(req, cfg, dev, db, activeThumbnailGeneration)
},
)).Methods(http.MethodPost, http.MethodOptions)