From c0b3462ffaffba4bd6495b10b148a856bfaedd5e Mon Sep 17 00:00:00 2001 From: Luna Date: Thu, 6 Dec 2018 01:41:02 -0300 Subject: [PATCH] user.settings: dont json.dumps val --- litecord/blueprints/user/settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litecord/blueprints/user/settings.py b/litecord/blueprints/user/settings.py index 64b081f..b76a32c 100644 --- a/litecord/blueprints/user/settings.py +++ b/litecord/blueprints/user/settings.py @@ -36,7 +36,6 @@ async def patch_current_settings(): # force postgres to update to jsonb # when the fields ARE jsonb. if key in json_fields: - val = json.dumps(val) jsonb_cnv = '::jsonb' await app.db.execute(f"""