diff --git a/unrouted_handler.go b/unrouted_handler.go index f9da9b7..a44a1fe 100644 --- a/unrouted_handler.go +++ b/unrouted_handler.go @@ -269,6 +269,11 @@ func (handler *UnroutedHandler) PostFile(w http.ResponseWriter, r *http.Request) handler.sendError(w, r, err) return } + + if handler.config.NotifyCompleteUploads { + info.ID = id + handler.CompleteUploads <- info + } } url := handler.absFileURL(r, id)