Skip to content

Commit 7057e45

Browse files
authored
Merge pull request #485 from yoution/issue-462
fix issue topcoder-archive/topcoder-platform-taas-app#462
2 parents 9c31e35 + af3feff commit 7057e45

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)