Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 29599aa

Browse files
Lukasz Sielskiterinjokes
authored andcommitted
fix(DNS): support proxied property on add
1 parent ac47ee5 commit 29599aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/dns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function add(rr, options) {
9595
var zid = rr.zoneId;
9696

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

0 commit comments

Comments
 (0)