Skip to content

Commit

Permalink
CRYP-50 Support counting address and webhook for every monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
thongnguyen5 committed Apr 23, 2024
1 parent 0dbd704 commit ad51439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/apps/monitor-service/src/ethereum/ethereum.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export class EthereumService {
);
await Promise.all([
this.projectQuotaService.increaseUsed(monitor.projectId),
this.monitorWebhookService.increaseWebhookCount(monitor.webhookId),
this.monitorWebhookService.increaseWebhookCount(monitor.monitorId),
]);
return respone;
} catch (error) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Injectable, Logger } from '@nestjs/common';
import NodeCache from 'node-cache';
import { MonitorRepository } from '../repositories/monitor.repository';
import NodeCache = require('node-cache');

@Injectable()
export class MonitorWebhookService {
Expand Down

0 comments on commit ad51439

Please sign in to comment.