Skip to content

Commit

Permalink
DomainRecord create method missing optional name attribute for NS rec…
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisSmallwood authored Jan 25, 2021
1 parent 895c788 commit 90efddb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Api/DomainRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,8 @@ public function create(string $domainName, string $type, string $name, string $d
case 'AAAA':
case 'CNAME':
case 'TXT':
$content = ['name' => $name, 'type' => $type, 'data' => $data];

break;

case 'NS':
$content = ['type' => $type, 'data' => $data];
$content = ['name' => $name, 'type' => $type, 'data' => $data];

break;

Expand Down

0 comments on commit 90efddb

Please sign in to comment.