Remove un-needed exception throwing

This commit is contained in:
Jonny Barnes 2017-12-18 18:23:09 +00:00
parent e1aa814d8c
commit 2c5b0f3ab5
2 changed files with 0 additions and 8 deletions

View file

@ -25,10 +25,6 @@ class LikeService
$url = normalize_url(array_get($request, 'like-of'));
}
if (! isset($url)) {
throw new \Exception();
}
$like = Like::create(['url' => $url]);
ProcessLike::dispatch($like);