Commit c8570a52 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

fix door group api not having correnct response schema

parent c0ff356d
......@@ -15,7 +15,7 @@ class APIPresenter extends BasePresenter implements Presenter
/** @inheritDoc */
public function present(ResponseModel $responseModel): void
{
$this->groups['groups'] = array_map(static function (Group $group) {
$this->groups = array_map(static function (Group $group) {
return [
'id' => $group->getId(),
'title' => $group->getTitle(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment