Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix group() query logging so it uses 'key' instead of 'keys'

  • Loading branch information...
commit ed975f8b76e5a2ebb87e32afc704c29cec5336b6 1 parent 268ed89
Jonathan H. Wage jwage authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  DataCollector/PrettyDataCollector.php
2  DataCollector/PrettyDataCollector.php
View
@@ -146,7 +146,7 @@ public function collect(Request $request, Response $response, \Exception $except
$query .= '.getDBRef()';
} elseif (isset($log['group'])) {
$query .= '.group('.$this->bsonEncode(array(
- 'keys' => $log['keys'],
+ 'key' => $log['keys'],
'initial' => $log['initial'],
'reduce' => $log['reduce'],
)).')';
Please sign in to comment.
Something went wrong with that request. Please try again.