@render-foundation/utils 0.0.104 → 0.0.105

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.
@@ -348,7 +348,7 @@ const pgClient = (config) => {
348
348
  q = q.where('epoch.start_time', '>=', f.epochEndedAtAfter);
349
349
  }
350
350
  if (f.epochEndedAtBefore) {
351
- q = q.where('epoch.end_time', '>=', f.epochEndedAtBefore);
351
+ q = q.where('epoch.end_time', '<=', f.epochEndedAtBefore);
352
352
  }
353
353
  if (f.channels) {
354
354
  q = q.where('liability.channel', 'in', f.channels);
@@ -317,7 +317,7 @@ export const pgClient = (config) => {
317
317
  q = q.where('epoch.start_time', '>=', f.epochEndedAtAfter);
318
318
  }
319
319
  if (f.epochEndedAtBefore) {
320
- q = q.where('epoch.end_time', '>=', f.epochEndedAtBefore);
320
+ q = q.where('epoch.end_time', '<=', f.epochEndedAtBefore);
321
321
  }
322
322
  if (f.channels) {
323
323
  q = q.where('liability.channel', 'in', f.channels);