Skip to content

Commit

Permalink
overlay/credits: Fix clip fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Apr 3, 2018
1 parent aa7c0e3 commit b8b944f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/overlays/credits.js
Expand Up @@ -147,8 +147,8 @@ class Credits {
}

async getTopClips () {
const period = _.includes(['day', 'week', 'month', 'all'], global.configuration.getValue('creditsTopClipsPeriod')) ? global.configuration.getValue('creditsTopClipsPeriod') : 'day'
const count = global.configuration.getValue('creditsTopClipsCount')
const period = _.includes(['day', 'week', 'month', 'all'], await global.configuration.getValue('creditsTopClipsPeriod')) ? global.configuration.getValue('creditsTopClipsPeriod') : 'day'
const count = await global.configuration.getValue('creditsTopClipsCount')
const channel = config.settings.broadcaster_username

var request
Expand Down

0 comments on commit b8b944f

Please sign in to comment.