build(backend): bump dependency versions

This commit is contained in:
Oleg Lobanov 2022-05-04 00:48:45 +04:00
parent 596c73288f
commit 7c9a75e725
No known key found for this signature in database
GPG key ID: 65FF3DB864FE3D2A
16 changed files with 494 additions and 191 deletions

View file

@ -77,7 +77,7 @@ func resourceDeleteHandler(fileCache FileCache) handleFunc {
return errToStatus(err), err
}
err = d.RunHook(func() error { //nolint:typecheck
err = d.RunHook(func() error {
return d.user.Fs.RemoveAll(r.URL.Path)
}, "delete", r.URL.Path, "", d.user)
@ -125,7 +125,7 @@ func resourcePostHandler(fileCache FileCache) handleFunc {
}
}
err = d.RunHook(func() error { //nolint:typecheck
err = d.RunHook(func() error {
info, writeErr := writeFile(d.user.Fs, r.URL.Path, r.Body)
if writeErr != nil {
return writeErr
@ -162,7 +162,7 @@ var resourcePutHandler = withUser(func(w http.ResponseWriter, r *http.Request, d
return http.StatusNotFound, nil
}
err = d.RunHook(func() error { //nolint:typecheck
err = d.RunHook(func() error {
info, writeErr := writeFile(d.user.Fs, r.URL.Path, r.Body)
if writeErr != nil {
return writeErr
@ -213,7 +213,7 @@ func resourcePatchHandler(fileCache FileCache) handleFunc {
return http.StatusForbidden, nil
}
err = d.RunHook(func() error { //nolint:typecheck
err = d.RunHook(func() error {
return patchAction(r.Context(), action, src, dst, d, fileCache)
}, action, src, dst, d.user)