Functionally complete full registration workflow

This commit is contained in:
Alexander Wong
2017-09-04 00:30:18 -06:00
parent 561664a701
commit f0c30f1023
18 changed files with 699 additions and 24 deletions

View File

@@ -39,9 +39,9 @@ export function post(url, data) {
.catch(error => Promise.reject(error));
}
export function patch(url, data) {
export function put(url, data) {
return apiInstance
.patch(url, data, { headers: headers() })
.put(url, data, { headers: headers() })
.then(response => response.data)
.catch(error => Promise.reject(error));
}