Update AP Helpers

This commit is contained in:
Daniel Supernault 2019-08-12 02:50:23 -06:00
parent dccaa2bd94
commit 8f60300022
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class Helpers {
$id = (int) last(explode('/', $url));
return Status::findOrFail($id);
} else {
$cached = Status::whereUrl($url)->first();
$cached = Status::whereUri($url)->orWhere('url', $url)->first();
if($cached) {
return $cached;
}