We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742f44d commit ca23131Copy full SHA for ca23131
src/Tqdev/PhpCrudApi/Controller/RecordController.php
@@ -42,9 +42,6 @@ public function read(ServerRequestInterface $request): ResponseInterface
42
if (!$this->service->hasTable($table)) {
43
return $this->responder->error(ErrorCode::TABLE_NOT_FOUND, $table);
44
}
45
- if ($this->service->getType($table) != 'table') {
46
- return $this->responder->error(ErrorCode::OPERATION_NOT_SUPPORTED, __FUNCTION__);
47
- }
48
$id = RequestUtils::getPathSegment($request, 3);
49
$params = RequestUtils::getParams($request);
50
if (strpos($id, ',') !== false) {
0 commit comments