Remove un-needed exception throwing
This commit is contained in:
parent
e1aa814d8c
commit
2c5b0f3ab5
2 changed files with 0 additions and 8 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue