From b51750a29eccc7971e72f9691b73cb98d1f3e943 Mon Sep 17 00:00:00 2001 From: Maxim Kuleshov Date: Wed, 9 Feb 2022 16:00:54 +0300 Subject: [PATCH] Fix assignment of url from internalDecode --- src/FileId.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileId.php b/src/FileId.php index eb77703..243ff86 100644 --- a/src/FileId.php +++ b/src/FileId.php @@ -132,7 +132,7 @@ class FileId $result->setFileReference($resultArray['fileReference']); } if ($resultArray['hasWebLocation']) { - $result->setUrl($resultArray['webLocation']); + $result->setUrl($resultArray['url']); return $result; } $result->setId($resultArray['id']);