mirror of
https://github.com/friendica/friendica
synced 2024-11-18 13:43:42 +00:00
Update src/Module/Api/Friendica/Photoalbum/Show.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
d74345782a
commit
7bb60776c6
1 changed files with 6 additions and 6 deletions
|
@ -54,13 +54,13 @@ class Show extends BaseApi
|
|||
protected function rawContent(array $request = [])
|
||||
{
|
||||
BaseApi::checkAllowedScope(BaseApi::SCOPE_READ);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
$type = $this->getRequestValue($this->parameters, 'extension', 'json');
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
$type = $this->getRequestValue($this->parameters, 'extension', 'json');
|
||||
$request = $this->getRequest([
|
||||
'album' => '', // Get pictures in this album
|
||||
'offset' => 0, // Return results offset by this value
|
||||
'limit' => 50, // Maximum number of results to return. Defaults to 50. Max 500
|
||||
'latest_first' => false, // Whether to reverse the order so newest are first
|
||||
'album' => '', // Get pictures in this album
|
||||
'offset' => 0, // Return results offset by this value
|
||||
'limit' => 50, // Maximum number of results to return. Defaults to 50. Max 500
|
||||
'latest_first' => false, // Whether to reverse the order so newest are first
|
||||
], $request);
|
||||
|
||||
if (empty($request['album'])) {
|
||||
|
|
Loading…
Reference in a new issue