fix(updates): Fix learn -> server communication

This commit is contained in:
Bouncey
2018-09-30 12:19:37 +01:00
committed by Stuart Taylor
parent 4eb364f919
commit 3da2a3eea9
8 changed files with 19 additions and 66 deletions

View File

@@ -6,7 +6,7 @@ function get(path) {
return axios.get(`${base}${path}`);
}
function post(path, body) {
export function post(path, body) {
return axios.post(`${base}${path}`, body);
}