hetznercloud wants name instead of search_name for zones
This commit is contained in:
@@ -44,7 +44,7 @@ async function getZone(domainConfig, zoneName) {
|
||||
|
||||
const [error, response] = await safe(superagent.get(`${ENDPOINT}/zones`)
|
||||
.set('Authorization', `Bearer ${domainConfig.token}`)
|
||||
.query({ search_name: zoneName })
|
||||
.query({ name: zoneName })
|
||||
.timeout(30 * 1000)
|
||||
.retry(5)
|
||||
.ok(() => true));
|
||||
|
||||
Reference in New Issue
Block a user