Set proper offset for complete notifications

This commit is contained in:
Marius 2016-02-22 13:58:05 +01:00
parent dbd4d54b4d
commit a949cb6b81
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ func (handler *UnroutedHandler) PatchFile(w http.ResponseWriter, r *http.Request
// ... send the info out to the channel
if handler.config.NotifyCompleteUploads {
info.Size = newOffset
info.Offset = newOffset
handler.CompleteUploads <- info
}
}