File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/backend/streaming-platforms/twitch/api Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import frontendCommunicator from "../../../common/frontend-communicator";
3434import logger from "../../../logwrapper" ;
3535
3636class TwitchApi {
37- private _streamerClient : ApiClient ;
37+ private _streamerClient : UserContextApiClient ;
3838 private _botClient : UserContextApiClient ;
3939
4040 constructor ( ) {
@@ -134,7 +134,10 @@ class TwitchApi {
134134 }
135135
136136 if ( AccountAccess . getAccounts ( ) . streamer . loggedIn ) {
137- this . _streamerClient = new ApiClient ( { authProvider : streamerProvider } ) ;
137+ this . _streamerClient = new UserContextApiClient (
138+ { authProvider : streamerProvider } ,
139+ AccountAccess . getAccounts ( ) . streamer . userId
140+ ) ;
138141 }
139142
140143 if ( AccountAccess . getAccounts ( ) . bot . loggedIn ) {
You can’t perform that action at this time.
0 commit comments