DmitrMakeev commited on
Commit
51068df
·
verified ·
1 Parent(s): abf5d37

Update settings.html

Browse files
Files changed (1) hide show
  1. settings.html +2 -2
settings.html CHANGED
@@ -109,7 +109,7 @@
109
  headers: {
110
  'Content-Type': 'application/json'
111
  },
112
- body: JSON.stringify({ api_key_sys: apiKeySys })
113
  })
114
  .then(response => response.json())
115
  .then(data => {
@@ -140,7 +140,7 @@
140
  headers: {
141
  'Content-Type': 'application/json'
142
  },
143
- body: JSON.stringify({ data: data, api_key_sys: data.api_key_sys })
144
  })
145
  .then(response => response.json())
146
  .then(data => {
 
109
  headers: {
110
  'Content-Type': 'application/json'
111
  },
112
+ body: JSON.stringify({ action: 'load', api_key_sys: apiKeySys })
113
  })
114
  .then(response => response.json())
115
  .then(data => {
 
140
  headers: {
141
  'Content-Type': 'application/json'
142
  },
143
+ body: JSON.stringify({ action: 'save', data: data, api_key_sys: data.api_key_sys })
144
  })
145
  .then(response => response.json())
146
  .then(data => {