mirror of https://gitlab.com/litecord/litecord.git
user.settings: remove json_fields
not used anymore since we use execute_with_json
This commit is contained in:
parent
bab25ea336
commit
fb21ea528e
|
|
@ -25,8 +25,6 @@ async def patch_current_settings():
|
||||||
user_id = await token_check()
|
user_id = await token_check()
|
||||||
j = validate(await request.get_json(), USER_SETTINGS)
|
j = validate(await request.get_json(), USER_SETTINGS)
|
||||||
|
|
||||||
json_fields = ['guild_positions', 'restricted_guilds']
|
|
||||||
|
|
||||||
for key in j:
|
for key in j:
|
||||||
val = j[key]
|
val = j[key]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue