Cleaning old data from artists indexes
This commit is contained in:
@@ -317,6 +317,7 @@ func (i *Importer) findGroup(ig utils.IndexGroups, name string) string {
|
||||
}
|
||||
|
||||
func (i *Importer) saveIndex(artistIndex map[string]tempIndex) error {
|
||||
i.idxRepo.DeleteAll()
|
||||
for k, temp := range artistIndex {
|
||||
idx := &domain.ArtistIndex{Id: k}
|
||||
for _, v := range temp {
|
||||
|
||||
Reference in New Issue
Block a user