small fixing, added throw errors in widgets
This commit is contained in:
@@ -19,7 +19,7 @@ class ClientWidgetContactController extends Controller
|
||||
return new ClientContactWidgetResource(
|
||||
ContactWidget::query()
|
||||
->where('slug', $slug)
|
||||
->first()
|
||||
->firstOrFail()
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user