diff --git a/src/Module/Api/Twitter/Followers/Lists.php b/src/Module/Api/Twitter/Followers/Lists.php index e969004cb..930114c47 100644 --- a/src/Module/Api/Twitter/Followers/Lists.php +++ b/src/Module/Api/Twitter/Followers/Lists.php @@ -110,10 +110,10 @@ class Lists extends ContactEndpoint $ids = array_reverse($ids); } - $return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities); - self::setLinkHeader(); + $return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities); + $this->response->exit('lists', ['lists' => $return]); } } diff --git a/src/Module/Api/Twitter/Friends/Lists.php b/src/Module/Api/Twitter/Friends/Lists.php index 11c9c4fc3..45c46f64d 100644 --- a/src/Module/Api/Twitter/Friends/Lists.php +++ b/src/Module/Api/Twitter/Friends/Lists.php @@ -110,10 +110,10 @@ class Lists extends ContactEndpoint $ids = array_reverse($ids); } - $return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities); - self::setLinkHeader(); + $return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities); + $this->response->exit('lists', ['lists' => $return]); } }