DOCS: Remove second parameter from NewDnsProvider() (#2505)

Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
Jeffrey Cafferata 2023-08-17 17:39:34 +02:00 committed by GitHub
parent f13ae54858
commit e211bfb4cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ For convenience, both configuration files are shown below.
{% code title="dnsconfig.js" %}
```javascript
var PROVIDER_NONE = NewRegistrar("none");
var PROVIDER_TRANSIP = NewDnsProvider("transip", "-");
var PROVIDER_TRANSIP = NewDnsProvider("transip");
D("cafferata.dev",
PROVIDER_NONE,
@ -100,7 +100,7 @@ Because the above GitLab CI configuration expects a diff, we apply this by (_for
```diff
var PROVIDER_NONE = NewRegistrar("none");
var PROVIDER_TRANSIP = NewDnsProvider("transip", "-");
var PROVIDER_TRANSIP = NewDnsProvider("transip");
D("cafferata.dev",
PROVIDER_NONE,