From 46f47f167131a9b19e6505d00718534304e43b65 Mon Sep 17 00:00:00 2001 From: Danial Nickford Date: Mon, 5 Mar 2018 18:26:40 +1300 Subject: [PATCH] attempt to fix test --- services/base.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/base.js b/services/base.js index 53a60fbcbd12ee..43531c11a77599 100644 --- a/services/base.js +++ b/services/base.js @@ -1,7 +1,6 @@ 'use strict'; const { - isValidStyle, makeLogo, toArray, makeColor, @@ -117,7 +116,7 @@ module.exports = class BaseService { overrideLabel || serviceLabel || defaultLabel, serviceMessage || 'n/a', ], - template: isValidStyle(style) ? style : 'default', + template: style, logo: makeLogo(style === 'social' ? defaultLogo : undefined, { logo: overrideLogo }), logoWidth: +overrideLogoWidth, links: toArray(overrideLink || serviceLink),