fix typo
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 20 Jul 2023 10:11:14 +0000 (12:11 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 20 Jul 2023 10:11:14 +0000 (12:11 +0200)
music_assistant/server/controllers/media/artists.py

index 530dae78a449a0b30b2cb37b761b3dc871d423ed..3af399e9efc2b18217be7a8edf7ba9d2ed140727 100644 (file)
@@ -449,7 +449,7 @@ class ArtistsController(MediaControllerBase[Artist]):
                             fallback=search_result_item,
                         )
                         # 100% match, we update the db with the additional provider mapping(s)
-                        for provider_mapping in search_result_item.provider_mappings:
+                        for provider_mapping in prov_artist.provider_mappings:
                             await self.add_provider_mapping(db_artist.item_id, provider_mapping)
                         return True
         # try to get a match with some reference albums of this artist