mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix json issues (#5865)
This commit is contained in:
@@ -374,7 +374,10 @@ class ColumnsView(PGChildNodeView, DataTypeReader):
|
||||
if k in ('description',):
|
||||
data[k] = v
|
||||
else:
|
||||
data[k] = json.loads(v, cls=ColParamsJSONDecoder)
|
||||
try:
|
||||
data[k] = json.loads(v, cls=ColParamsJSONDecoder)
|
||||
except TypeError:
|
||||
data[k] = v
|
||||
|
||||
required_args = {
|
||||
'name': 'Name',
|
||||
|
||||
Reference in New Issue
Block a user