mirror of
https://github.com/friendica/friendica
synced 2024-12-23 03:20:15 +00:00
Transmit header before creating user list
This commit is contained in:
parent
cfd09663e7
commit
a2f386cd2f
2 changed files with 4 additions and 4 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue