Merge pull request #2 from arisudesu/patch-1

Fix assignment of url from internalDecode
This commit is contained in:
Daniil Gentili 2022-02-09 14:10:06 +01:00 committed by GitHub
commit 6ff8389fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,7 +132,7 @@ class FileId
$result->setFileReference($resultArray['fileReference']); $result->setFileReference($resultArray['fileReference']);
} }
if ($resultArray['hasWebLocation']) { if ($resultArray['hasWebLocation']) {
$result->setUrl($resultArray['webLocation']); $result->setUrl($resultArray['url']);
return $result; return $result;
} }
$result->setId($resultArray['id']); $result->setId($resultArray['id']);