Skip to content

Commit

Permalink
fix(Health): fix typo (#888)
Browse files Browse the repository at this point in the history

References: #878
  • Loading branch information
krobi64 authored Dec 10, 2018
1 parent 5722416 commit aa64bf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Health/Health.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ export class Health {
},
})

const ipfsDirectoryHasDAO = new IPFSDirectoryHashDAO({
const ipfsDirectoryHashDAO = new IPFSDirectoryHashDAO({
dependencies: {
ipfsDirectoryHashInfoCollection: this.ipfsDirectoryHashInfoCollection,
},
})
await ipfsDirectoryHasDAO.start()
await ipfsDirectoryHashDAO.start()

const bitcoinCore = new BitcoinCore({
host: this.configuration.bitcoinUrl,
Expand All @@ -86,7 +86,7 @@ export class Health {
dependencies: {
logger: this.logger,
healthDAO,
ipfsDirectoryHasDAO,
ipfsDirectoryHashDAO,
bitcoinCore,
ipfs,
},
Expand Down
4 changes: 2 additions & 2 deletions src/Health/HealthController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const isFailureHard = (failureType: string) => failureType === 'HARD'

export interface Dependencies {
readonly healthDAO: HealthDAO
readonly ipfsDirectoryHasDAO: IPFSDirectoryHashDAO
readonly ipfsDirectoryHashDAO: IPFSDirectoryHashDAO
readonly bitcoinCore: BitcoinCore
readonly logger: Pino.Logger
readonly ipfs: IPFS
Expand All @@ -68,7 +68,7 @@ export class HealthController {
dependencies: {
logger,
healthDAO,
ipfsDirectoryHasDAO,
ipfsDirectoryHashDAO,
bitcoinCore,
ipfs,
},
Expand Down

0 comments on commit aa64bf6

Please sign in to comment.