diff --git a/integration.js b/integration.js index ce43ae0..712fe96 100644 --- a/integration.js +++ b/integration.js @@ -255,10 +255,8 @@ function doLookup(entities, options, cb) { details: { ...result.body, searchLimitTag: - dailySearchLimit.percentage > 50 && - `${dailySearchLimit.limit - dailySearchLimit.used}/${ - dailySearchLimit.limit - }` + dailySearchLimit && dailySearchLimit.percent > 75 && + `${dailySearchLimit.limit - dailySearchLimit.used}/${dailySearchLimit.limit}` } } });