diff src/services/services.cpp @ 44:619cbd6e69f9

filesystem: fix CreateDirectories function
author Paper <mrpapersonic@gmail.com>
date Fri, 22 Sep 2023 13:52:11 -0400
parents cde8f67a7c7d
children d8eb763e6661
line wrap: on
line diff
--- a/src/services/services.cpp	Fri Sep 22 12:06:49 2023 -0400
+++ b/src/services/services.cpp	Fri Sep 22 13:52:11 2023 -0400
@@ -11,11 +11,13 @@
 	}
 }
 
-void Authorize() {
+bool Authorize() {
 	switch (session.config.service) {
-		case Anime::Services::ANILIST: AniList::AuthorizeUser(); break;
-		default: break;
+		case Anime::Services::ANILIST:
+			return AniList::AuthorizeUser();
+		default:
+			return true;
 	}
 }
 
-}; // namespace Services
\ No newline at end of file
+}; // namespace Services