error
This commit is contained in:
parent
68b91a27a2
commit
8535a4c73a
@ -51,7 +51,7 @@ module.exports.create = function(config) {
|
|||||||
additions: [
|
additions: [
|
||||||
{
|
{
|
||||||
kind: "dns#resourceRecordSet",
|
kind: "dns#resourceRecordSet",
|
||||||
name: ch.dnsHost,
|
name: ch.dnsHost + ".",
|
||||||
type: "TXT",
|
type: "TXT",
|
||||||
ttl: 300, // TODO test for lowest allowed value
|
ttl: 300, // TODO test for lowest allowed value
|
||||||
rrdatas: [ch.dnsAuthorization],
|
rrdatas: [ch.dnsAuthorization],
|
||||||
@ -65,6 +65,7 @@ module.exports.create = function(config) {
|
|||||||
//"isServing": true
|
//"isServing": true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
})
|
})
|
||||||
.then(function(resp) {
|
.then(function(resp) {
|
||||||
if (resp.body.error) {
|
if (resp.body.error) {
|
||||||
@ -72,6 +73,7 @@ module.exports.create = function(config) {
|
|||||||
console.error(resp.body);
|
console.error(resp.body);
|
||||||
throw new Error(resp.body.error);
|
throw new Error(resp.body.error);
|
||||||
}
|
}
|
||||||
|
return null
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
remove: function(data) {
|
remove: function(data) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user