Skip to content

Commit

Permalink
🐛 error needs to br properly returned
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Sep 29, 2018
1 parent ceda32e commit 5373131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MetApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected function error($key='unknown',$replace=[]) {
$this->addError($key, __($key,$replace));
}

$this->render(['errors' => $this->errors], 500);
return $this->render(['errors' => $this->errors], 500);
}

/**
Expand Down

0 comments on commit 5373131

Please sign in to comment.