wacca: fix options not saving
This commit is contained in:
parent
c5fc879af6
commit
4626ec36cd
@ -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
|
||||
|
@ -211,7 +211,7 @@ class WaccaProfileData(BaseData):
|
||||
)
|
||||
|
||||
conflict = sql.on_duplicate_key_update(
|
||||
value = sql.inserted.value
|
||||
value = value
|
||||
)
|
||||
|
||||
result = self.execute(conflict)
|
||||
|
Loading…
Reference in New Issue
Block a user