Skip to content

Commit

Permalink
SERVICES-2603: fix service injection in swapEventHandler
Browse files Browse the repository at this point in the history
Signed-off-by: Claudiu Lataretu <[email protected]>
  • Loading branch information
claudiulataretu committed Jan 13, 2025
1 parent 138916f commit 256e8aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/rabbitmq/handlers/pair.swap.handler.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Inject, Injectable } from '@nestjs/common';
import { forwardRef, Inject, Injectable } from '@nestjs/common';
import BigNumber from 'bignumber.js';
import { RedisPubSub } from 'graphql-redis-subscriptions';
import { PUB_SUB } from 'src/services/redis.pubSub.module';
Expand Down Expand Up @@ -30,9 +30,11 @@ export class SwapEventHandler {
private readonly pairAbi: PairAbiService,
private readonly pairService: PairService,
private readonly pairSetter: PairSetterService,
@Inject(forwardRef(() => PairComputeService))
private readonly pairCompute: PairComputeService,
private readonly routerAbi: RouterAbiService,
private readonly routerCompute: RouterComputeService,
@Inject(forwardRef(() => TokenComputeService))
private readonly tokenCompute: TokenComputeService,
private readonly tokenSetter: TokenSetterService,
private readonly pairHandler: PairHandler,
Expand Down

0 comments on commit 256e8aa

Please sign in to comment.