Skip to content

Commit

Permalink
fix inject
Browse files Browse the repository at this point in the history
  • Loading branch information
yoozo committed Nov 26, 2024
1 parent 4257b0a commit 7f0fb37
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class BlockDispatcherService
@Inject('IProjectUpgradeService')
projectUpgradeService: IProjectUpgradeService,
storeService: StoreService,
storeModelProvider: IStoreModelProvider,
@Inject('IStoreModelProvider') storeModelProvider: IStoreModelProvider,
poiSyncService: PoiSyncService,
@Inject('ISubqueryProject') project: SubqueryProject,
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class WorkerBlockDispatcherService
projectUpgadeService: IProjectUpgradeService,
cacheService: InMemoryCacheService,
storeService: StoreService,
storeModelProvider: IStoreModelProvider,
@Inject('IStoreModelProvider') storeModelProvider: IStoreModelProvider,
poiSyncService: PoiSyncService,
@Inject('ISubqueryProject') project: SubqueryProject,
dynamicDsService: DynamicDsService,
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/indexer/fetch.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class FetchService extends BaseFetchService<
unfinalizedBlocksService: UnfinalizedBlocksService,
eventEmitter: EventEmitter2,
schedulerRegistry: SchedulerRegistry,
storeModelProvider: IStoreModelProvider,
@Inject('IStoreModelProvider') storeModelProvider: IStoreModelProvider,
) {
super(
nodeConfig,
Expand Down
4 changes: 2 additions & 2 deletions packages/node/src/indexer/unfinalizedBlocks.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2020-2024 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import { Injectable } from '@nestjs/common';
import { Inject, Injectable } from '@nestjs/common';
import {
ApiService,
BaseUnfinalizedBlocksService,
Expand All @@ -28,7 +28,7 @@ export class UnfinalizedBlocksService extends BaseUnfinalizedBlocksService<Block
constructor(
private readonly apiService: ApiService,
nodeConfig: NodeConfig,
storeModelProvider: IStoreModelProvider,
@Inject('IStoreModelProvider') storeModelProvider: IStoreModelProvider,
) {
super(new EthereumNodeConfig(nodeConfig), storeModelProvider);
}
Expand Down

0 comments on commit 7f0fb37

Please sign in to comment.