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 7656f12 commit badbeddCopy full SHA for badbedd
src/Laravel/EloquentCollection.php
@@ -2,8 +2,6 @@
2
3
namespace Tobyz\JsonApiServer\Laravel;
4
5
-use Illuminate\Database\Query\Builder;
6
-use Illuminate\Support\Facades\Auth;
7
use RuntimeException;
8
use Tobyz\JsonApiServer\Context;
9
use Tobyz\JsonApiServer\Pagination\OffsetPagination;
@@ -58,7 +56,6 @@ public function query(Context $context): object
58
56
59
57
$queries[$type] = $resource
60
->query($context)
61
- ->toBase()
62
->select("$keyName as id")
63
->selectRaw('? as type', [$type]);
64
}
0 commit comments