Skip to content

Commit

Permalink
ESLint no like, me fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Regalijan authored Jul 16, 2024
1 parent ade51ee commit cf69631
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/games/configureGamePass.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,13 @@ function configureGamePass (gamePassId, name, description, price, icon, jar, tok
}

return http(httpOpt).then(function (res) {
const json = JSON.parse(res.body)
if (res.statusCode === 200) {
resolve({
gamePassId,
name,
description: description || '',
...price,
iconChanged: !!icon //Boolean Cast
iconChanged: !!icon // Boolean Cast
})
} else {
const priceComment = (typeof (price) === 'number') ? ` | NOTE: Price has successfully been changed to ${price}R.` : ''
Expand Down

0 comments on commit cf69631

Please sign in to comment.