mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
Updating signup endpoint to reflect current api.
This commit is contained in:
@@ -73,7 +73,7 @@ const signUpFailure = error => ({type: actions.FETCH_SIGNUP_FAILURE, error});
|
||||
|
||||
export const fetchSignUp = formData => dispatch => {
|
||||
dispatch(signUpRequest());
|
||||
coralApi('/user', {method: 'POST', body: formData})
|
||||
coralApi('/users', {method: 'POST', body: formData})
|
||||
.then(({user}) => {
|
||||
dispatch(signUpSuccess(user));
|
||||
setTimeout(() =>{
|
||||
|
||||
Reference in New Issue
Block a user