mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-28 23:02:24 -05:00
fix(updates): Fix learn -> server communication
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user