hetznercloud wants name instead of search_name for zones

This commit is contained in:
Johannes Zellner
2026-01-29 15:35:29 +01:00
parent b5f5b096d4
commit 5bd803e6b4
+1 -1
View File
@@ -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));