diff src/library/library.cc @ 319:d928ec7b6a0d

services/kitsu: implement GetAnimeList() it finally works!
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 17:52:26 -0400
parents 862d0d8619f6
children 71396ecb6f7e
line wrap: on
line diff
--- a/src/library/library.cc	Wed Jun 12 05:25:41 2024 -0400
+++ b/src/library/library.cc	Wed Jun 12 17:52:26 2024 -0400
@@ -34,7 +34,7 @@
 
 			const std::string title = Strings::ToUtf8String(elements.get(anitomy::kElementAnimeTitle));
 
-			const int id = Anime::db.GetAnimeFromTitle(title);
+			const int id = Anime::db.LookupAnimeTitle(title);
 			if (id <= 0)
 				continue;