Skip to content

Commit 5541dca

Browse files
committed
build: v6.9.64
1 parent cbcabab commit 5541dca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/analytics/src/services/market-metrics.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Injectable, Logger } from '@nestjs/common';
22
import { InjectRepository } from '@nestjs/typeorm';
33
import { Repository, MoreThan } from 'typeorm';
44
import { DateTime } from 'luxon';
5-
import { AnalyticsMetricCategory, AnalyticsMetricType } from '@app/resources';
5+
import { AnalyticsMetricCategory, AnalyticsMetricType, MARKET_TYPE } from '@app/resources';
66
import { analyticsMetricExists } from '@app/resources/dao';
77
import {
88
MarketTotalMetrics,
@@ -68,7 +68,7 @@ export class MarketMetricsService {
6868
.select('COUNT(DISTINCT m.item_id)', 'count')
6969
.where('m.timestamp > :threshold AND m.type = :type', {
7070
threshold: threshold24h,
71-
type: 'AUCTIONS',
71+
type: MARKET_TYPE.A,
7272
})
7373
.getRawOne<MarketAggregateCount>();
7474

@@ -77,7 +77,7 @@ export class MarketMetricsService {
7777
.select('COUNT(DISTINCT m.item_id)', 'count')
7878
.where('m.timestamp > :threshold AND m.type = :type', {
7979
threshold: threshold24h,
80-
type: 'COMMDTY',
80+
type: MARKET_TYPE.C,
8181
})
8282
.getRawOne<MarketAggregateCount>();
8383

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cmnw",
3-
"version": "6.9.63",
3+
"version": "6.9.64",
44
"homepage": "https://cmnw.me",
55
"description": "Intelligence always wins",
66
"private": true,

0 commit comments

Comments
 (0)