ui: Chart API update
- Updated with a new default Chart API Key - Implemented Chart error handling
This commit is contained in:
1 parent
fb48797298
commit
d6ed5ba24c
4 files changed
+77
-23
No files matched your search
@@ -445,7 +445,7 @@ def page_newoffer(self, url_split, post_string):
|
||||
chart_api_key = swap_client.settings.get('chart_api_key', '')
|
||||
if chart_api_key == '':
|
||||
chart_api_key_enc = swap_client.settings.get('chart_api_key_enc', '')
|
||||
chart_api_key = 'cd7600e7b5fdd99c6f900673ff0ee8f64d6d4219a4bb87191ad4a2e3fc65d7f4' if chart_api_key_enc == '' else bytes.fromhex(chart_api_key_enc).decode('utf-8')
|
||||
chart_api_key = '95dd900af910656e0e17c41f2ddc5dba77d01bf8b0e7d2787634a16bd976c553' if chart_api_key_enc == '' else bytes.fromhex(chart_api_key_enc).decode('utf-8')
|
||||
|
||||
return self.render_template(template, {
|
||||
'messages': messages,
|
||||
|
||||
Reference in new issue
Block a user