manual lotto policy sort func added

This commit is contained in:
hojin.jeong 2025-08-25 16:54:40 +09:00
parent bccdee3ae4
commit 90cbc95ee2
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class Lotto {
const requestParams = lotteryInputs.map((lotto, idx) => {
return {
genType: lotto === 'auto' ? '0' : '1',
arrGameChoiceNum: lotto === 'auto' ? null : lotto.map(num => String(num).padStart(2, 0)).join(','),
arrGameChoiceNum: lotto === 'auto' ? null : lotto.sort().map(num => String(num).padStart(2, 0)).join(','),
alpabet: String.fromCharCode(65 + idx)
}
})