Fix issue with relativeLinksMethod and limit not applying to manage links

This commit is contained in:
Ilango
2024-02-06 10:36:27 +05:30
parent 7faaf13ccc
commit 7486d33237
4 changed files with 12 additions and 7 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
import client from './client'
const fetchAllLinks = (url, relativeLinksMethod) =>
client.get(`/fetch-links?url=${encodeURIComponent(url)}&relativeLinksMethod=${relativeLinksMethod}`)
const fetchLinks = (url, relativeLinksMethod, relativeLinksLimit) =>
client.get(`/fetch-links?url=${encodeURIComponent(url)}&relativeLinksMethod=${relativeLinksMethod}&limit=${relativeLinksLimit}`)
export default {
fetchAllLinks
fetchLinks
}