Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
43:eb9a78345ecb | 44:619cbd6e69f9 |
---|---|
9 case Anime::Services::ANILIST: AniList::GetAnimeList(); break; | 9 case Anime::Services::ANILIST: AniList::GetAnimeList(); break; |
10 default: break; | 10 default: break; |
11 } | 11 } |
12 } | 12 } |
13 | 13 |
14 void Authorize() { | 14 bool Authorize() { |
15 switch (session.config.service) { | 15 switch (session.config.service) { |
16 case Anime::Services::ANILIST: AniList::AuthorizeUser(); break; | 16 case Anime::Services::ANILIST: |
17 default: break; | 17 return AniList::AuthorizeUser(); |
18 default: | |
19 return true; | |
18 } | 20 } |
19 } | 21 } |
20 | 22 |
21 }; // namespace Services | 23 }; // namespace Services |