Skip to content

Commit

Permalink
fix: missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Oct 18, 2019
1 parent cb1b067 commit 7fbd220
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const createGetTwitterVideo = ({ userAgent, getGuestToken }) => {
.value()
}
} catch (err) {
guestToken = getGuestToken()
guestToken = await getGuestToken()
debug('getTwitterInfo rotating token')
}
} while (!data)
Expand Down

0 comments on commit 7fbd220

Please sign in to comment.