Return counter from DeleteByPath

This commit is contained in:
Deluan
2020-07-12 11:48:57 -04:00
parent e55397fcdc
commit dc8368c89c
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ type MediaFileRepository interface {
GetRandom(options ...QueryOptions) (MediaFiles, error)
Search(q string, offset int, size int) (MediaFiles, error)
Delete(id string) error
DeleteByPath(path string) error
DeleteByPath(path string) (int64, error)
AnnotatedRepository
}