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

@ -40,10 +40,6 @@ class BookmarkService
$categories = array_get($request, 'category');
}
if (! isset($url)) {
throw new \Exception;
}
$bookmark = Bookmark::create([
'url' => $url,
'name' => $name,