Skip to content

Commit

Permalink
feat: inject did sync status
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiter committed Nov 8, 2024
1 parent 0d18c80 commit 1708b7d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/modules/did/did.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { ConfigService } from '@nestjs/config';
import { BullModule } from '@nestjs/bull';
import { UPDATE_DOCUMENT_QUEUE_NAME } from './did.types';
import { PIN_CLAIM_QUEUE_NAME } from '../ipfs/ipfs.types';
import { DidSyncStatusEntity } from './didSyncStatus.entity';

const RegistrySettingsProvider = {
provide: 'RegistrySettings',
Expand All @@ -34,7 +35,11 @@ const RegistrySettingsProvider = {
BullModule.registerQueue({
name: PIN_CLAIM_QUEUE_NAME,
}),
TypeOrmModule.forFeature([DIDDocumentEntity, LatestDidSync]),
TypeOrmModule.forFeature([
DIDDocumentEntity,
LatestDidSync,
DidSyncStatusEntity,
]),
],
controllers: [DIDController],
providers: [
Expand Down

0 comments on commit 1708b7d

Please sign in to comment.