|
|
@ -416,10 +416,7 @@ func UploadDocumentsHandler(w http.ResponseWriter, r *http.Request) { |
|
|
uploadDuration := time.Since(uploadStart) |
|
|
uploadDuration := time.Since(uploadStart) |
|
|
|
|
|
|
|
|
// Get the actual size that was uploaded
|
|
|
// Get the actual size that was uploaded
|
|
|
var fileSize int64 |
|
|
fileSize := sizeTracker.Size() |
|
|
if sizeTracker != nil { |
|
|
|
|
|
fileSize = sizeTracker.Size() |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Verify the upload size matches the expected file size
|
|
|
// Verify the upload size matches the expected file size
|
|
|
sizeMatch := true |
|
|
sizeMatch := true |
|
|
|