fix tests for /members/transfer-gems

This commit is contained in:
Alys
2016-05-14 07:18:00 -04:00
parent 2e078f4776
commit 44e9d8b09e
2 changed files with 25 additions and 18 deletions

View File

@@ -325,7 +325,7 @@ api.transferGems = {
let gemAmount = req.body.gemAmount;
let amount = gemAmount / 4;
if (!amount || amount <= 0 || sender.balance < amount) {
if (amount <= 0 || sender.balance < amount) {
throw new NotAuthorized(res.t('badAmountOfGemsToSend'));
}