@resolveio/server-lib 4.6.16 → 4.6.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/methods/logs.js +12 -14
- package/package.json +1 -1
package/methods/logs.js
CHANGED
|
@@ -163,12 +163,12 @@ function loadLogMethods(methodManager) {
|
|
|
163
163
|
{
|
|
164
164
|
$group: {
|
|
165
165
|
_id: {
|
|
166
|
-
second: {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
},
|
|
166
|
+
// second: {
|
|
167
|
+
// $second: {
|
|
168
|
+
// date: '$createdAt',
|
|
169
|
+
// timezone: "America/Chicago"
|
|
170
|
+
// }
|
|
171
|
+
// },
|
|
172
172
|
minute: {
|
|
173
173
|
$minute: {
|
|
174
174
|
date: '$createdAt',
|
|
@@ -212,7 +212,6 @@ function loadLogMethods(methodManager) {
|
|
|
212
212
|
'_id.day': 1,
|
|
213
213
|
'_id.hour': 1,
|
|
214
214
|
'_id.minute': 1,
|
|
215
|
-
'_id.second': 1
|
|
216
215
|
}
|
|
217
216
|
}
|
|
218
217
|
]).allowDiskUse(true)];
|
|
@@ -234,12 +233,12 @@ function loadLogMethods(methodManager) {
|
|
|
234
233
|
{
|
|
235
234
|
$group: {
|
|
236
235
|
_id: {
|
|
237
|
-
second: {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
},
|
|
236
|
+
// second: {
|
|
237
|
+
// $second: {
|
|
238
|
+
// date: '$createdAt',
|
|
239
|
+
// timezone: "America/Chicago"
|
|
240
|
+
// }
|
|
241
|
+
// },
|
|
243
242
|
minute: {
|
|
244
243
|
$minute: {
|
|
245
244
|
date: '$createdAt',
|
|
@@ -283,7 +282,6 @@ function loadLogMethods(methodManager) {
|
|
|
283
282
|
'_id.day': 1,
|
|
284
283
|
'_id.hour': 1,
|
|
285
284
|
'_id.minute': 1,
|
|
286
|
-
'_id.second': 1
|
|
287
285
|
}
|
|
288
286
|
}
|
|
289
287
|
]).allowDiskUse(true)];
|