Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix(DNS): support proxied property on add
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz Sielski authored and terinjokes committed Sep 30, 2016
1 parent ac47ee5 commit 29599aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function add(rr, options) {
var zid = rr.zoneId;

var uri = join('zones', zid, 'dns_records');
var body = pick(rr.toJSON({useAliases: true}), ['type', 'name', 'content', 'ttl']);
var body = pick(rr.toJSON({useAliases: true}), ['type', 'name', 'content', 'ttl', 'proxied']);
options.method = 'POST';
options.body = JSON.stringify(body);

Expand Down

0 comments on commit 29599aa

Please sign in to comment.