mirror of
https://github.com/danog/tg-file-decoder.git
synced 2024-11-26 12:24:40 +01:00
Merge pull request #2 from arisudesu/patch-1
Fix assignment of url from internalDecode
This commit is contained in:
commit
6ff8389fc7
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user