Remove unnecessary record field in Record.delete()

refferring to pdns api documentation the fields inside the
of the entry delete json is not necessary.
This commit is contained in:
SIPOS, Peter 2016-11-17 11:32:28 +01:00
parent d224bd6798
commit 43f1289b98

View File

@ -1049,10 +1049,6 @@ class Record(object):
"type": self.type, "type": self.type,
"changetype": "DELETE", "changetype": "DELETE",
"records": [ "records": [
{
"name": self.name,
"type": self.type
}
] ]
} }
] ]