MCPcopy Index your code
hub / github.com/reactGo/reactGo / signUp

Function signUp

app/actions/users.js:83–96  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

81}
82
83export function signUp(data) {
84 return dispatch => {
85 dispatch(beginSignUp());
86
87 return makeUserRequest('post', data, '/signup')
88 .then( response => {
89 if (response.status === 200) {
90 dispatch(signUpSuccess());
91 } else {
92 dispatch(signUpError());
93 }
94 });
95 };
96}
97
98export function logOut() {
99 return dispatch => {

Callers

nothing calls this directly

Calls 4

beginSignUpFunction · 0.85
makeUserRequestFunction · 0.85
signUpSuccessFunction · 0.85
signUpErrorFunction · 0.85

Tested by

no test coverage detected