From 2967c6793bf874e144dc6154fc009daeae39417b Mon Sep 17 00:00:00 2001 From: Pierre-Yves B Date: Sun, 14 Feb 2021 19:41:02 +0000 Subject: [PATCH] Make [Twitch] a social badge (#6183) --- services/twitch/twitch.service.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/twitch/twitch.service.js b/services/twitch/twitch.service.js index 30ab17cc50..f9fa25f504 100644 --- a/services/twitch/twitch.service.js +++ b/services/twitch/twitch.service.js @@ -8,7 +8,7 @@ const helixSchema = Joi.object({ }) module.exports = class TwitchStatus extends TwitchBase { - static category = 'activity' + static category = 'social' static route = { base: 'twitch/status', @@ -21,15 +21,18 @@ module.exports = class TwitchStatus extends TwitchBase { namedParams: { user: 'andyonthewings', }, + queryParams: { style: 'social' }, staticPreview: { message: 'live', color: 'red', + style: 'social', }, }, ] static defaultBadgeData = { label: 'twitch', + namedLogo: 'twitch', } static render({ user, isLive }) {