Add trailing slash to replace function

This commit is contained in:
Justin 2019-06-11 13:05:08 -04:00
parent a2a612648a
commit 38d50dc6e8

View File

@ -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(service.url, ''), {
const more = await get(service, next.replace(service.url + '/', ''), {
maxPages,
sudo,
showPagination: true