Skip to content

Commit af3feff

Browse files
committed
1 parent c8019b1 commit af3feff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/TeamService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,8 +814,8 @@ async function getRoleBySkills (skills) {
814814
}
815815
// if no matching role found then return Custom role or empty object
816816
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
817+
customRole.rates[0].rate30Global = customRole.rates[0].global * 0.75
818+
customRole.rates[0].rate20Global = customRole.rates[0].global * 0.5
819819
return customRole
820820
}
821821

0 commit comments

Comments
 (0)