Skip to content

Commit b111eb2

Browse files
Update Configuration.php
1 parent e98837c commit b111eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function __construct(array $config)
6565

6666
$nearestNode = $config['nearest_node'] ?? [];
6767
if (!empty($nearestNode)) {
68-
$this->nearestNode = new Node($nearestNode['host'], $nearestNode['post'], $nearestNode['path'] ?? '', $nearestNode['protocol']);
68+
$this->nearestNode = new Node($nearestNode['host'], $nearestNode['port'], $nearestNode['path'] ?? '', $nearestNode['protocol']);
6969
}
7070

7171
$this->apiKey = $config['api_key'] ?? '';
@@ -174,4 +174,4 @@ public function getHealthcheckIntervalSeconds()
174174
return $this->healthcheckIntervalSeconds;
175175
}
176176

177-
}
177+
}

0 commit comments

Comments
 (0)