We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e841dc1 commit 66f8fcbCopy full SHA for 66f8fcb
src/Providers/OEmbed/N500px.php
@@ -15,8 +15,8 @@ class N500px extends OEmbedImplementation
15
public static function getEndPoint(Url $url)
16
{
17
18
- if (is_numeric($this->request->getDirectoryPosition(1))) {
19
- return $this->request->createUrl()->withDirectoryPosition(2,'oembed.json');
+ if (is_numeric($url->getDirectoryPosition(1))) {
+ return $url->createUrl()->withDirectoryPosition(2,'oembed.json');
20
}
21
return '';
22
0 commit comments