From 277db6943f76144baca034f4585d456ac442f9ed Mon Sep 17 00:00:00 2001 From: Towfiq Date: Sun, 27 Nov 2022 21:35:13 +0600 Subject: [PATCH] Fixed: Inline doc --- utils/sortFilter.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/sortFilter.ts b/utils/sortFilter.ts index ed37442..1c50154 100644 --- a/utils/sortFilter.ts +++ b/utils/sortFilter.ts @@ -1,6 +1,5 @@ /** - * When a Refresh request is failed, automatically add the keyword id to a failed_queue.json file - * so that the retry cron tries to scrape it every hour until the scrape is successful. + * Sorrt Keywords by user's given input. * @param {KeywordType[]} theKeywords - The Keywords to sort. * @param {string} sortBy - The sort method. * @returns {KeywordType[]} @@ -51,7 +50,7 @@ export const keywordsByDevice = (sortedKeywords: KeywordType[], device: string): }; /** - * Fitlers the keywords by country, search string or tags. + * Filters the keywords by country, search string or tags. * @param {KeywordType[]} keywords - The keywords. * @param {KeywordFilters} filterParams - The user Selected filter object. * @returns {KeywordType[]}