Migrate to the new Get Channel Followers Helix endpoint, fixing follower count not showing up in usercards (#4809)

This commit is contained in:
pajlada
2023-09-09 14:51:45 +02:00
committed by GitHub
parent 515c40f857
commit 813d96867b
5 changed files with 60 additions and 98 deletions
+6 -11
View File
@@ -31,17 +31,12 @@ public:
HelixFailureCallback failureCallback),
(override));
MOCK_METHOD(void, fetchUsersFollows,
(QString fromId, QString toId,
ResultCallback<HelixUsersFollowsResponse> successCallback,
HelixFailureCallback failureCallback),
(override));
MOCK_METHOD(void, getUserFollowers,
(QString userId,
ResultCallback<HelixUsersFollowsResponse> successCallback,
HelixFailureCallback failureCallback),
(override));
MOCK_METHOD(
void, getChannelFollowers,
(QString broadcasterID,
ResultCallback<HelixGetChannelFollowersResponse> successCallback,
std::function<void(QString)> failureCallback),
(override));
MOCK_METHOD(void, fetchStreams,
(QStringList userIds, QStringList userLogins,