gofmt lol

This commit is contained in:
Iris Lightshard 2023-07-05 01:20:56 -06:00
parent 825f2ac762
commit 0d3b4fb5ae
Signed by: nilix
GPG key ID: 3B7FBC22144E6398
2 changed files with 19 additions and 20 deletions

View file

@ -278,14 +278,13 @@ func apiListImages(next http.Handler, uploads string, uploadType string, udb aut
return
}
return http.HandlerFunc(handlerFunc)
}
func apiDeleteImage(next http.Handler, uploads string, uploadType string, udb auth.UserStore, dbAdapter mongodb.DbAdapter) http.Handler {
handlerFunc := func(w http.ResponseWriter, req *http.Request) {
// put the path together
urlParams := req.Context().Value("params").(map[string]string)
urlParams := req.Context().Value("params").(map[string]string)
tableName := urlParams["table"]
tableKey := models.TableKey{
Name: tableName,