Trending fix
This commit is contained in:
parent
d9165d693f
commit
c04122d11f
2 changed files with 8 additions and 8 deletions
|
|
@ -11,8 +11,8 @@ class TrendingController {
|
|||
static public function get() {
|
||||
$api = Wrappers::api();
|
||||
|
||||
// Ttwid if normal, cursor if legacy
|
||||
if ($api::class === 'TikScraper\Api') {
|
||||
// Ttwid if standard, cursor if legacy
|
||||
if ($api::MODE === 'STANDARD') {
|
||||
$cursor = Misc::getTtwid();
|
||||
} else {
|
||||
$cursor = Misc::getCursor();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue