feat: Add template plugin

This commit is contained in:
2024-02-13 13:41:56 +11:00
parent fea42b1177
commit 7085fbfa5c
5 changed files with 35 additions and 2 deletions

View File

@@ -345,8 +345,7 @@ def setDNS(account,domain,records):
newRecords.append({
'type': 'TXT',
'txt': TXTRecords
})
})
data = '{"records":'+str(newRecords).replace("'","\"")+'}'
response = hsw.sendUPDATE(account_name,password,domain,data)
return response