Functionally complete full registration workflow
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user