From: Hank G Date: Tue, 13 Dec 2022 21:45:49 +0000 (-0500) Subject: Update src/Module/Api/Friendica/Photoalbum/Show.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7bb60776c6e91722e396eabd6a42bad2c84dc6cf;p=friendica.git Update src/Module/Api/Friendica/Photoalbum/Show.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Module/Api/Friendica/Photoalbum/Show.php b/src/Module/Api/Friendica/Photoalbum/Show.php index ac9573da38..e47ef51daa 100644 --- a/src/Module/Api/Friendica/Photoalbum/Show.php +++ b/src/Module/Api/Friendica/Photoalbum/Show.php @@ -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'])) {