Merge pull request #365 from lbryio/fix-set-settings-typo

Fix typo in set_settings API method
This commit is contained in:
Job Evers‐Meltzer 2016-12-30 08:22:14 -06:00 committed by GitHub
commit 42edf49468

View file

@ -1284,7 +1284,7 @@ class Daemon(AuthJSONRPCServer):
d.addErrback(lambda err: log.info(err.getTraceback())) d.addErrback(lambda err: log.info(err.getTraceback()))
d.addCallback(lambda _: _log_settings_change()) d.addCallback(lambda _: _log_settings_change())
d.addCallback( d.addCallback(
lambda _: self._regnder_response(conf.settings.get_adjustable_settings_dict(), OK_CODE)) lambda _: self._render_response(conf.settings.get_adjustable_settings_dict(), OK_CODE))
return d return d