Skip to content

Commit fc7607a

Browse files
authored
fix(feed): use chronological config for Explore By Date feed (#3748)
1 parent 6d74aa8 commit fc7607a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

__tests__/feeds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ describe('query anonymousFeed by time', () => {
626626
.post('/feed.json', (body) => {
627627
// Verify the request includes order_by: 'date' for TIME ranking
628628
expect(body.order_by).toBe(FeedOrderBy.Date);
629-
expect(body.feed_config_name).toBe('popular');
629+
expect(body.feed_config_name).toBe('custom_feed_na_v1');
630630
return true;
631631
})
632632
.reply(200, {

src/integrations/feed/generators.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export const feedGenerators: Partial<Record<FeedVersion, FeedGenerator>> =
120120
new FeedPreferencesConfigGenerator(
121121
{
122122
...baseFeedConfig,
123-
feed_config_name: FeedConfigName.Popular,
123+
feed_config_name: FeedConfigName.CustomFeedNaV1,
124124
min_day_range: 14,
125125
allowed_content_curations: [
126126
'news',

0 commit comments

Comments
 (0)