Skip to content

Commit

Permalink
Merge pull request #794 from eco-stake/fix-healthcheck-variable
Browse files Browse the repository at this point in the history
Fix HealthCheck variable
  • Loading branch information
tombeynon authored Nov 4, 2024
2 parents 996c31d + 483161e commit 2609d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autostake/Health.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createLogger } from '../utils/Helpers.mjs'

class Health {
constructor(config, opts) {
const { address, uuid, name, apiKey, timeout, gracePeriod } = config || {}
const { address, apiAddress, uuid, name, apiKey, timeout, gracePeriod } = config || {}
const { dryRun, networkName } = opts || {}
this.address = address || 'https://hc-ping.com'
this.apiAddress = apiAddress || 'https://healthchecks.io'
Expand Down

0 comments on commit 2609d10

Please sign in to comment.