From b49162069719b5b6c701d7ec4f0572f76d0cb4ae Mon Sep 17 00:00:00 2001 From: shay <43248357+shayypy@users.noreply.github.com> Date: Thu, 21 Nov 2024 18:51:19 -0600 Subject: [PATCH] chore: remove confusing category determination it's all sports in the end --- sites/nhl.com/nhl.com.config.js | 2 +- sites/nhl.com/nhl.com.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sites/nhl.com/nhl.com.config.js b/sites/nhl.com/nhl.com.config.js index 41354d78..c3c01408 100644 --- a/sites/nhl.com/nhl.com.config.js +++ b/sites/nhl.com/nhl.com.config.js @@ -13,7 +13,7 @@ module.exports = { programs.push({ title: item.title, description: item.description === item.title ? undefined : item.description, - category: item.title === "NHL Game" ? "Sports event" : "Sports non-event", + category: "Sports", // image: parseImage(item), start: parseStart(item), stop: parseStop(item) diff --git a/sites/nhl.com/nhl.com.test.js b/sites/nhl.com/nhl.com.test.js index 4a1b4732..a12db69a 100644 --- a/sites/nhl.com/nhl.com.test.js +++ b/sites/nhl.com/nhl.com.test.js @@ -28,7 +28,7 @@ it('can parse response', () => { start: '2024-11-21T12:00:00.000Z', stop: '2024-11-21T13:00:00.000Z', title: 'On The Fly', - category: 'Sports non-event', + category: 'Sports', }) })