Skip to content

Commit 2609d10

Browse files
authored
Merge pull request #794 from eco-stake/fix-healthcheck-variable
Fix HealthCheck variable
2 parents 996c31d + 483161e commit 2609d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autostake/Health.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createLogger } from '../utils/Helpers.mjs'
44

55
class Health {
66
constructor(config, opts) {
7-
const { address, uuid, name, apiKey, timeout, gracePeriod } = config || {}
7+
const { address, apiAddress, uuid, name, apiKey, timeout, gracePeriod } = config || {}
88
const { dryRun, networkName } = opts || {}
99
this.address = address || 'https://hc-ping.com'
1010
this.apiAddress = apiAddress || 'https://healthchecks.io'

0 commit comments

Comments
 (0)