mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Merge pull request #350 from jdalrymple/344-pagination-url
This commit is contained in:
commit
44ee3bc2cd
@ -31,7 +31,7 @@ export async function get(
|
||||
// Rescurse through pagination results
|
||||
if (!query.page && underLimit && pagination.next) {
|
||||
const { next } = Li.parse(headers.link);
|
||||
const more = await get(service, next.replace(/.+\/api\/v\d\//, ''), {
|
||||
const more = await get(service, next.replace(`${service.url}/`, ''), {
|
||||
maxPages,
|
||||
sudo,
|
||||
showPagination: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user