fix psr2
This commit is contained in:
1 parent
644dbd9ea2
commit
2c054b9b79
4 files changed
+9
-9
No files matched your search
@@ -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