Skip to content

Commit 72f90c6

Browse files
author
Scott Prue
committed
fix(auth): pass updateProfile options to action - #701 - @cruzdanilo
1 parent d9ea2fc commit 72f90c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/actions/auth.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ export const verifyPasswordResetCode = (dispatch, firebase, code) => {
730730
* @return {Promise}
731731
* @private
732732
*/
733-
export const updateProfile = (dispatch, firebase, profileUpdate) => {
733+
export const updateProfile = (dispatch, firebase, profileUpdate, options) => {
734734
const { _: { config } } = firebase
735735
dispatch({
736736
type: actionTypes.PROFILE_UPDATE_START,
@@ -740,7 +740,7 @@ export const updateProfile = (dispatch, firebase, profileUpdate) => {
740740
const updatePromise = config.useFirestoreForProfile
741741
? updateProfileOnFirestore
742742
: updateProfileOnRTDB
743-
return updatePromise(firebase, profileUpdate)
743+
return updatePromise(firebase, profileUpdate, options)
744744
.then(snap => {
745745
dispatch({
746746
type: actionTypes.PROFILE_UPDATE_SUCCESS,

0 commit comments

Comments
 (0)