diff --git a/protocols/s5/tus.go b/protocols/s5/tus.go index 0928f4a..e426d49 100644 --- a/protocols/s5/tus.go +++ b/protocols/s5/tus.go @@ -116,7 +116,7 @@ func (t *TusHandler) Init() error { exists, _ := t.UploadExists(hook.Context, decodedHash.HashBytes()) - if exists { + if exists && !hook.Upload.IsPartial { return blankResp, blankChanges, errors.New("file is already being uploaded") }