Do not empty old artist metadata (#2423)

This commit is contained in:
Kendall Garner authored and GitHub committed 2023-11-16 19:20:37 -05:00
1 parent 7a858a2db3
commit 79870b1090
4 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ func (m *MockArtistRepo) Get(id string) (*model.Artist, error) {
return nil, model.ErrNotFound
}
func (m *MockArtistRepo) Put(ar *model.Artist) error {
func (m *MockArtistRepo) Put(ar *model.Artist, columsToUpdate ...string) error {
if m.err {
return errors.New("error")
}