This should be 200 on deletion, so we can tell whether a deletion succeeds or not.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
8ec97032b1
commit
41cf623bb8
@@ -82,8 +82,6 @@ class BoardApiController extends ApiController {
|
|||||||
public function get($id) {
|
public function get($id) {
|
||||||
$board = $this->service->find($id);
|
$board = $this->service->find($id);
|
||||||
|
|
||||||
// FIXME: this should probably 404 if the board has been deleted
|
|
||||||
|
|
||||||
return new DataResponse($board);
|
return new DataResponse($board);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user