Simplify the output of api results
This commit is contained in:
@@ -70,7 +70,6 @@ class Index extends BaseApi
|
||||
];
|
||||
}
|
||||
|
||||
echo self::format('events', ['events' => $items]);
|
||||
exit;
|
||||
self::exit('events', ['events' => $items]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user