idac: bugfixes

This commit is contained in:
Dniel97 2024-01-08 16:51:59 +01:00
parent e08acf8ee4
commit 9ee58cd444
Signed by: Dniel97
GPG Key ID: 6180B3C768FB2E08

View File

@ -2493,7 +2493,7 @@ class IDACSeason2(IDACBase):
},
)
vs_info = _update_vs_info(user_id, 0, data)
vs_info = self._update_vs_info(user_id, IDACConstants.BATTLE_MODE_ONLINE, data)
return {
"status_code": "0",
@ -2572,7 +2572,7 @@ class IDACSeason2(IDACBase):
)
# save vs_info in database
vs_info = _update_vs_info(user_id, 1, data)
vs_info = self._update_vs_info(user_id, IDACConstants.BATTLE_MODE_OFFLINE, data)
return {
"status_code": "0",