fix: Update email action should hit API

This commit is contained in:
Mrugesh Mohapatra
2017-12-05 11:55:41 +05:30
parent 35f0b4f0d7
commit 885d5916c0
6 changed files with 15 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ export const updateUserFlag = createAction(
);
// updateUserEmail(username: String, email: String) => Action
export const updateUserEmail = createAction(
types.updateUserFlag,
types.updateUserEmail,
(username, email) => ({ username, email })
);
// updateUserLang(username: String, lang: String) => Action