mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update AP Helpers
This commit is contained in:
parent
dccaa2bd94
commit
8f60300022
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class Helpers {
|
||||||
$id = (int) last(explode('/', $url));
|
$id = (int) last(explode('/', $url));
|
||||||
return Status::findOrFail($id);
|
return Status::findOrFail($id);
|
||||||
} else {
|
} else {
|
||||||
$cached = Status::whereUrl($url)->first();
|
$cached = Status::whereUri($url)->orWhere('url', $url)->first();
|
||||||
if($cached) {
|
if($cached) {
|
||||||
return $cached;
|
return $cached;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue