Skip to content

Commit

Permalink
Fix healthcheck variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Nov 4, 2024
1 parent 996c31d commit 483161e
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 483161e

Please sign in to comment.