includeTags -> include_tags

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2022-09-23 15:51:55 +02:00 committed by Vincent Petry (Rebase PR Action)
parent 20b75480d0
commit 610bbaed68
1 changed files with 2 additions and 2 deletions

View File

@ -370,7 +370,7 @@ class ShareAPIController extends OCSController {
* @return DataResponse
* @throws OCSNotFoundException
*/
public function getShare(string $id, bool $includeTags = false): DataResponse {
public function getShare(string $id, bool $include_tags = false): DataResponse {
try {
$share = $this->getShareById($id);
} catch (ShareNotFound $e) {
@ -381,7 +381,7 @@ class ShareAPIController extends OCSController {
if ($this->canAccessShare($share)) {
$share = $this->formatShare($share);
if ($includeTags) {
if ($include_tags) {
$share = Helper::populateTags([$share], 'file_source', \OC::$server->getTagManager());
} else {
$share = [$share];