Ensure that the user should be able to edit the publication in the subscription dialog. Fixes #6835

This commit is contained in:
Pradip Parkale 2021-10-04 14:11:57 +05:30 committed by Akshay Joshi
parent 1ec1db1ecb
commit 69109a19db

View File

@ -410,10 +410,6 @@ class SubscriptionView(PGChildNodeView, SchemaDiffObjectCompare):
)
try:
if 'pub' in data:
data['pub'] = json.loads(
data['pub'], encoding='utf-8'
)
sql, name = self.get_sql(data, subid)
# Most probably this is due to error
if not isinstance(sql, str):