diff --git a/http/tus_handlers.go b/http/tus_handlers.go index 516f43f9..4677b12b 100644 --- a/http/tus_handlers.go +++ b/http/tus_handlers.go @@ -213,6 +213,7 @@ func tusPatchHandler() handleFunc { if newOffset >= uploadLength { unregisterUpload(file.RealPath()) + _ = d.RunHook(func() error { return nil }, "upload", r.URL.Path, "", d.user) } return http.StatusNoContent, nil