Skip to content

Commit

Permalink
fix issue of wolfbet
Browse files Browse the repository at this point in the history
  • Loading branch information
bot committed Jul 14, 2020
1 parent 3244a97 commit d5619d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api/models/wolfbet.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ module.exports = class WolfBet extends BaseDice {
data.game = "dice";
data.amount = parseFloat(amount).toFixed(8);
data.rule = condition;
data.bet_value= parseFloat(game/100).toFixed(2);
data.multiplier = multiplier.toString();
data.multiplier = multiplier.toFixed(4);
data.bet_value= (game/100).toFixed(2);
let ret = await this._send('api/v1/bet/place', 'POST', data, 'Bearer '+accessToken);
console.log(ret);
let info = req.session.info;
Expand Down
2 changes: 1 addition & 1 deletion src/package.json.console
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mydicebot-console-200710",
"name": "mydicebot-console-200714",
"version": "1.0.0",
"description": "MyDiceBot - Bet more, earn more!",
"homepage": "https://mydicebot.com",
Expand Down

0 comments on commit d5619d3

Please sign in to comment.