Skip to content

Commit

Permalink
Update upload.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakura-Byte committed Feb 1, 2025
1 parent 59ffb4e commit 17fc232
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/115/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,9 @@ func (f *Fs) tryHashUpload(
acc.ServerSideTransferStart()
acc.ServerSideCopyEnd(size)
}
// Optionally fetch final info - Removed this line in this fix to simplify and avoid potential issues if getFile fails.
if info, err2 := f.getFile(ctx, "", ui.PickCode); err2 == nil {
_ = o.setMetaData(info)
}
return true, ui, newIn, cleanup, nil // Return true to indicate 秒传 success

case 1:
Expand Down

0 comments on commit 17fc232

Please sign in to comment.