Fix datasync consumer setting save logic
This commit is contained in:
parent
fd2b290fd0
commit
90cb25446b
|
@ -286,7 +286,7 @@ class DataSyncThreadView(MasterView):
|
||||||
if consumer['enabled']:
|
if consumer['enabled']:
|
||||||
consumers.append(ckey)
|
consumers.append(ckey)
|
||||||
settings.extend([
|
settings.extend([
|
||||||
{'name': 'rattail.datasync.{}.consumer.spec.{}'.format(pkey, ckey),
|
{'name': f'rattail.datasync.{pkey}.consumer.{ckey}.spec',
|
||||||
'value': consumer['consumer_spec']},
|
'value': consumer['consumer_spec']},
|
||||||
{'name': 'rattail.datasync.{}.consumer.{}.db'.format(pkey, ckey),
|
{'name': 'rattail.datasync.{}.consumer.{}.db'.format(pkey, ckey),
|
||||||
'value': consumer['consumer_dbkey']},
|
'value': consumer['consumer_dbkey']},
|
||||||
|
|
Loading…
Reference in a new issue