Skip to content

Commit

Permalink
Update list_dns_records.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Aug 30, 2024
1 parent 7ed9539 commit 58c8bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/list_dns_records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ApiRequestOptions } from './api_request_options.ts';
* @param options Options for the API fetch
* @returns List of all DNS records found.
*/
export default function listDnsRecordsFromApi(options: ApiRequestOptions) : Promise<DnsRecord[]> {
export default function listDnsRecordsFromApi(options : ApiRequestOptions) : Promise<DnsRecord[]> {
return fetch(
`${options.apiEndpoint}zones/${options.zoneId}/dns_records?type=${supportedDnsRecordTypes.join(',')}`,
{
Expand Down

0 comments on commit 58c8bc4

Please sign in to comment.