We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8019b1 commit af3feffCopy full SHA for af3feff
src/services/TeamService.js
@@ -814,8 +814,8 @@ async function getRoleBySkills (skills) {
814
}
815
// if no matching role found then return Custom role or empty object
816
const customRole = await Role.findOne({ where: { name: { [Op.iLike]: 'Custom' } }, raw: true }) || {}
817
- customRole.rates[0].rate20Global = customRole.rates[0].global * 0.75
818
- customRole.rates[0].rate30Global = customRole.rates[0].global * 0.5
+ customRole.rates[0].rate30Global = customRole.rates[0].global * 0.75
+ customRole.rates[0].rate20Global = customRole.rates[0].global * 0.5
819
return customRole
820
821
0 commit comments