From c9fa1f4059148f67ba74399fe1a0d00384ba5f1f Mon Sep 17 00:00:00 2001 From: josh-cigna Date: Fri, 19 Sep 2025 13:07:24 -0400 Subject: [PATCH] Update hunterService.js Setting limit to 10, to allow for free Hunter.io accounts to interact with API --- lib/hunterService.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/hunterService.js b/lib/hunterService.js index 6b84417..684379d 100644 --- a/lib/hunterService.js +++ b/lib/hunterService.js @@ -1,7 +1,7 @@ // lib/hunterService.js const axios = require('axios'); -async function searchDomain(domain, apiKey, limit = 20) { +async function searchDomain(domain, apiKey, limit = 10) { try { const response = await axios.get('https://api.hunter.io/v2/domain-search', { params: { @@ -20,4 +20,5 @@ async function searchDomain(domain, apiKey, limit = 20) { module.exports = { searchDomain -}; \ No newline at end of file + +};