We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e85f9b6 commit b319b3bCopy full SHA for b319b3b
app/ApiJson/Method/GetMethod.php
@@ -23,6 +23,6 @@ protected function process()
23
$result = $this->query->all();
24
!$queryMany && $result = current($result);
25
26
- return $result;
+ return $result ?: [];
27
}
28
0 commit comments