Skip to content

Commit

Permalink
[UXE-6155] fix: list more than 200 edge dns records (#2100)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloisio-m-bastian authored Jan 29, 2025
1 parent f687dac commit 86c7bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { makeEdgeDNSRecordsBaseUrl } from './make-edge-dns-records-base-url'

export const listRecordsService = async ({ id }) => {
let httpResponse = await AxiosHttpClientAdapter.request({
url: `${makeEdgeDNSRecordsBaseUrl()}/${id}/records?page_size=200`,
url: `${makeEdgeDNSRecordsBaseUrl()}/${id}/records?page_size=1000`,
method: 'GET'
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('EdgeDnsRecordsServices', () => {
})

expect(requestSpy).toHaveBeenCalledWith({
url: `${version}/intelligent_dns/${dnsRecordIdMock}/records?page_size=200`,
url: `${version}/intelligent_dns/${dnsRecordIdMock}/records?page_size=1000`,
method: 'GET'
})
})
Expand Down

0 comments on commit 86c7bcb

Please sign in to comment.