(type, func, args, token, proxy)
| 23 | } |
| 24 | |
| 25 | async function fetchData (type, func, args, token, proxy) { |
| 26 | const data = { |
| 27 | type, |
| 28 | action: 'sync', |
| 29 | func, |
| 30 | args, |
| 31 | token, |
| 32 | proxy |
| 33 | } |
| 34 | return fetch(data) |
| 35 | } |
| 36 | |
| 37 | function updateSyncServerStatusFromGist (store, gist, type) { |
| 38 | const statusContent = get(gist, 'files["electerm-status.json"].content') |