From 483161e44d0b768e9b3804e5d101c7d484bc6d02 Mon Sep 17 00:00:00 2001 From: Tom Beynon Date: Mon, 4 Nov 2024 21:31:50 +0000 Subject: [PATCH] Fix healthcheck variable --- src/autostake/Health.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autostake/Health.mjs b/src/autostake/Health.mjs index 90c4d110..a1da61c1 100644 --- a/src/autostake/Health.mjs +++ b/src/autostake/Health.mjs @@ -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'