fix psr2
This commit is contained in:
@@ -75,7 +75,7 @@ class EventCategoryController extends Controller
|
||||
*/
|
||||
public function destroy(EventCategory $category)
|
||||
{
|
||||
if(auth()->user()->isAdmin()) {
|
||||
if (auth()->user()->isAdmin()) {
|
||||
$category->delete();
|
||||
return response()->json([], 204);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user