From 13e860f275fbd8af81823ac708a2009949bc5213 Mon Sep 17 00:00:00 2001 From: arjunjain Date: Thu, 13 Aug 2026 11:51:03 +0530 Subject: [PATCH] Rename market symbol filter to market_id Sync with python-client: the /market and /market/count endpoints now take market_id instead of symbol. The old filter was removed upstream, so no alias is kept. --- src/core/constants.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/constants.js b/src/core/constants.js index eb14dff..b37de6b 100644 --- a/src/core/constants.js +++ b/src/core/constants.js @@ -78,7 +78,7 @@ export const FILTERS = Object.freeze({ 'excludecountry', 'domain', 'domainurl', 'excludedomain', 'language', 'excludelanguage', 'prioritydomain', 'timezone', 'timeframe', 'size', 'full_content', 'image', 'video', 'page', 'tag', 'sentiment', - 'excludefield', 'removeduplicate', 'organization', 'symbol', 'id', 'url', + 'excludefield', 'removeduplicate', 'organization', 'market_id', 'id', 'url', 'sort', 'creator', 'datatype', 'sentiment_score', ], count: [ @@ -99,7 +99,7 @@ export const FILTERS = Object.freeze({ 'from_date', 'to_date', 'q', 'qintitle', 'qinmeta', 'country', 'excludecountry', 'domain', 'domainurl', 'excludedomain', 'language', 'excludelanguage', 'full_content', 'image', 'video', 'organization', - 'symbol', 'prioritydomain', 'page', 'sentiment', 'removeduplicate', 'size', + 'market_id', 'prioritydomain', 'page', 'sentiment', 'removeduplicate', 'size', 'sort', 'tag', 'interval', 'creator', 'datatype', 'sentiment_score', ], });