Don't send the header
This commit is contained in:
@@ -77,7 +77,7 @@ class Lists extends ContactEndpoint
|
||||
}
|
||||
} else {
|
||||
$params = ['order' => ['cid' => true], 'limit' => $count];
|
||||
|
||||
|
||||
$condition = ['relation-cid' => $cid, 'follows' => true];
|
||||
|
||||
$total_count = (int)DBA::count('contact-relation', $condition);
|
||||
@@ -110,10 +110,10 @@ class Lists extends ContactEndpoint
|
||||
$ids = array_reverse($ids);
|
||||
}
|
||||
|
||||
self::setLinkHeader();
|
||||
|
||||
$return = self::list($ids, $total_count, $uid, $cursor, $count, $skip_status, $include_user_entities);
|
||||
|
||||
$this->response->setHeader(self::getLinkHeader());
|
||||
|
||||
$this->response->exit('lists', ['lists' => $return]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user