Simplify the output of api results
This commit is contained in:
parent
83056df565
commit
fb6c3e2912
5 changed files with 8 additions and 11 deletions
|
@ -70,7 +70,6 @@ class Index extends BaseApi
|
|||
];
|
||||
}
|
||||
|
||||
echo self::format('events', ['events' => $items]);
|
||||
exit;
|
||||
self::exit('events', ['events' => $items]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue