Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const authorize = (email?: string, password?: string) => ({
- types: [types.AUTH_PENDING, types.AUTH_SUCCESS, types.AUTH_FAILURE],
- promise: AuthService.authorize(email, password),
- onSuccess: AuthService.handleSuccess,
- onFailure: AuthService.handleFailure,
- });
Add Comment
Please, Sign In to add comment