Gauntlet Reward query update
This commit is contained in:
parent
8208e7d9d1
commit
bd4af6e7fa
2
main.py
2
main.py
@ -4543,7 +4543,7 @@ async def v1_gauntletreward_get(
|
||||
if win_num is not None:
|
||||
all_rewards = all_rewards.where(GauntletReward.win_num == win_num)
|
||||
if loss_max is not None:
|
||||
all_rewards = all_rewards.where(GauntletReward.loss_max == loss_max)
|
||||
all_rewards = all_rewards.where(GauntletReward.loss_max >= loss_max)
|
||||
|
||||
all_rewards = all_rewards.order_by(-GauntletReward.loss_max, GauntletReward.win_num)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user