Sequelize queries #234

Merged
bones7242 merged 10 commits from sequelize-queries into master 2017-11-03 16:35:42 +01:00
Showing only changes of commit 713fa3f1e3 - Show all commits

View file

@ -288,7 +288,7 @@ module.exports = (sequelize, { STRING, BOOLEAN, INTEGER, TEXT, ARRAY, DECIMAL, D
case 0: case 0:
return resolve(NO_CLAIM); return resolve(NO_CLAIM);
default: default:
logger.debug('getTopFreeClaimIdByClaimName result:', result); logger.debug('getTopFreeClaimIdByClaimName result:', result.dataValues);
return resolve(result[0].claimId); return resolve(result[0].claimId);
} }
}) })