fix: GetUploadReader needs ctx

This commit is contained in:
Derrick Hammer 2024-02-17 02:38:07 -05:00
parent c452b0c271
commit a5f0a4bfcc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ func (f *S5File) Close() error {
func (f *S5File) init(offset int64) error {
if f.reader == nil {
reader, err := f.tus.GetUploadReader(f.hash, offset)
reader, err := f.tus.GetUploadReader(f.ctx, f.hash, offset)
if err == nil {
f.reader = reader