Send Upload Complete Notification for concatenations

This commit is contained in:
Marius 2016-02-21 18:38:43 +01:00
parent 7ac6cf12c7
commit 13c27e1c19
1 changed files with 5 additions and 0 deletions

View File

@ -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)