Skip to content

Commit 66f8fcb

Browse files
committed
fixing error
1 parent e841dc1 commit 66f8fcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Providers/OEmbed/N500px.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ class N500px extends OEmbedImplementation
1515
public static function getEndPoint(Url $url)
1616
{
1717

18-
if (is_numeric($this->request->getDirectoryPosition(1))) {
19-
return $this->request->createUrl()->withDirectoryPosition(2,'oembed.json');
18+
if (is_numeric($url->getDirectoryPosition(1))) {
19+
return $url->createUrl()->withDirectoryPosition(2,'oembed.json');
2020
}
2121
return '';
2222
}

0 commit comments

Comments
 (0)