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 909fa3d commit 9308b06Copy full SHA for 9308b06
codepoints.net/lib/Api/Runner/Search.php
@@ -29,7 +29,7 @@ protected function handle_request(string $data) : Array {
29
if (substr($query, 0, 1) === 'k') {
30
/* see lib/Controller/Search.php for an explanation for this
31
* rate limiter. */
32
- new RateLimiter(20, 60*60*24, $env['db']);
+ new RateLimiter(20, 60*60*24, $this->env['db']);
33
}
34
$controller = new SearchController();
35
list($search_result, $pagination) = $controller->getSearchResult($query, $this->env);
0 commit comments