1
0
mirror of synced 2024-11-28 07:50:48 +01:00

wacca: fix options not saving

This commit is contained in:
Hay1tsme 2023-03-03 12:40:03 -05:00
parent c5fc879af6
commit 4626ec36cd
2 changed files with 2 additions and 2 deletions

View File

@ -746,7 +746,7 @@ class WaccaBase():
user_id = self.data.profile.profile_to_aime_user(req.profileId)
for opt in req.optsUpdated:
self.data.profile.update_option(user_id, opt.id, opt.val)
self.data.profile.update_option(user_id, opt.opt_id, opt.opt_val)
for update in req.datesUpdated:
pass

View File

@ -211,7 +211,7 @@ class WaccaProfileData(BaseData):
)
conflict = sql.on_duplicate_key_update(
value = sql.inserted.value
value = value
)
result = self.execute(conflict)