File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,7 @@ export class StreamFeed<
467467 return this . client . get < FollowStatsAPIResponse > ( {
468468 url : 'stats/follow/' ,
469469 qs,
470- token : this . token ,
470+ token : this . client . getOrCreateToken ( ) || this . token ,
471471 } ) ;
472472 }
473473
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ describe('[UNIT] Stream Feed (Common)', function () {
218218 get ( {
219219 url : 'stats/follow/' ,
220220 qs : { followers : 'user:matthisk' , following : 'user:matthisk' } ,
221- token : feed . token ,
221+ token : feed . client . getOrCreateToken ( ) || feed . token ,
222222 } ) ,
223223 ) ;
224224 } ) ;
@@ -235,7 +235,7 @@ describe('[UNIT] Stream Feed (Common)', function () {
235235 following_slugs : 'user,timeline' ,
236236 followers_slugs : 'channel' ,
237237 } ,
238- token : feed . token ,
238+ token : feed . client . getOrCreateToken ( ) || feed . token ,
239239 } ) ,
240240 ) ;
241241 } ) ;
You can’t perform that action at this time.
0 commit comments