We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c9450 commit 7ed9539Copy full SHA for 7ed9539
src/api/update_dns_record.ts
@@ -4,11 +4,12 @@ import { DnsRecord } from '../record/dns_record.ts';
4
import { ApiRequestOptions } from './api_request_options.ts';
5
6
export default function updateDnsRecord(
7
+ recordId : string,
8
record : DnsRecord,
9
options : ApiRequestOptions
10
) : void {
11
fetch(
- `${options.apiEndpoint}zones/${options.zoneId}/dns_records/${options.recordId}`,
12
+ `${options.apiEndpoint}zones/${options.zoneId}/dns_records/${recordId}`,
13
{
14
method: 'PATCH',
15
headers: {
0 commit comments