From 9ba53fea71728ce64342d0d59f4199876e4b6164 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 26 Jun 2023 22:59:03 +0200 Subject: feat: Partially fix test This will totally be fixed later. --- pkg/worker/file_scanner.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/worker') diff --git a/pkg/worker/file_scanner.go b/pkg/worker/file_scanner.go index fda869c..a51f60b 100644 --- a/pkg/worker/file_scanner.go +++ b/pkg/worker/file_scanner.go @@ -77,10 +77,6 @@ func (f *FileScanner) Process(ctx context.Context, path string) error { return nil } - if errResp != nil { - return errResp - } - return f.repository.Create(ctx, &media.CreateMedia{ Name: name, Path: path, -- cgit v1.2.3