Skip to content

Commit 501d631

Browse files
committed
fix build
1 parent e0e9096 commit 501d631

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/schema/webhooks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ export enum WebhooksEventTypes {
1010
CONTRACT_SUBSCRIPTION = "contract_subscription",
1111
}
1212

13-
export type BackendWalletBalanceWebhookParams {
13+
export type BackendWalletBalanceWebhookParams = {
1414
walletAddress: string;
1515
minimumBalance: string;
1616
currentBalance: string;
1717
chainId: number;
1818
message: string;
19-
}
19+
};

src/worker/tasks/mineTransactionWorker.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { getWebhooksByEventType } from "../../utils/cache/getWebhook";
2121
import { getChain } from "../../utils/chain";
2222
import { msSince } from "../../utils/date";
2323
import { env } from "../../utils/env";
24+
import { prettifyError } from "../../utils/error";
2425
import { logger } from "../../utils/logger";
2526
import { recordMetrics } from "../../utils/prometheus";
2627
import { redis } from "../../utils/redis/redis";

src/worker/tasks/sendWebhookWorker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { Worker, type Job, type Processor } from "bullmq";
33
import superjson from "superjson";
44
import { TransactionDB } from "../../db/transactions/db";
55
import {
6-
BackendWalletBalanceWebhookParams,
76
WebhooksEventTypes,
7+
type BackendWalletBalanceWebhookParams,
88
} from "../../schema/webhooks";
99
import { toEventLogSchema } from "../../server/schemas/eventLog";
1010
import {

0 commit comments

Comments
 (0)