Skip to content

Commit fd21042

Browse files
author
jessevz
committed
Fixed bug that included errors where not added to response because of a typo
1 parent 47045bd commit fd21042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inc/apiv2/common/AbstractBaseAPI.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ protected static function getOneResource(object $apiClass, object $object, Reque
15051505

15061506
$metaData = [];
15071507
if ($apiClass->permissionErrors !== null) {
1508-
$metadata["Include errors"] = $apiClass->permissionErrors;
1508+
$metaData["Include errors"] = $apiClass->permissionErrors;
15091509
}
15101510
// Generate JSON:API GET output
15111511
$ret = self::createJsonResponse($dataResources[0], $links, $includedResources, $metaData);

0 commit comments

Comments
 (0)