Closed LewisSmallwood closed 3 years ago
Hi there,
The content for the create() method of DomainRecord is missing the "name" attribute for records of type "NS".
create()
DomainRecord
Although not explicitly stated in the documentation provided by DO for this method, the API does accept the name attribute as optional.
It would be great to modify the API to allow this as an optional record, defaulting back to @ if not provided.
Upon further investigation, and contrary to the documentation from DO, the name attribute is required.
Without it this error is thrown:
I have updated the PR accordingly.
Thanks!
Hi there,
The content for the
create()
method ofDomainRecord
is missing the "name" attribute for records of type "NS".Although not explicitly stated in the documentation provided by DO for this method, the API does accept the name attribute as optional.
It would be great to modify the API to allow this as an optional record, defaulting back to @ if not provided.