diff src/services/services.cpp @ 52:0c4138de2ea7

anime list: we are finally read-write
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 22:49:42 -0400
parents d8eb763e6661
children 3d2decf093bb
line wrap: on
line diff
--- a/src/services/services.cpp	Mon Sep 25 20:29:26 2023 -0400
+++ b/src/services/services.cpp	Mon Sep 25 22:49:42 2023 -0400
@@ -25,6 +25,13 @@
 	}
 }
 
+void UpdateAnimeEntry(int id) {
+	switch (session.config.service) {
+		case Anime::Services::ANILIST: AniList::UpdateAnimeEntry(id); break;
+		default: break;
+	}
+}
+
 bool Authorize() {
 	switch (session.config.service) {
 		case Anime::Services::ANILIST: