Skip to content

Commit

Permalink
attempt to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RedSparr0w committed Mar 5, 2018
1 parent fb14024 commit 46f47f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/base.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';

const {
isValidStyle,
makeLogo,
toArray,
makeColor,
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 46f47f1

Please sign in to comment.