Skip to content
Merged
4 changes: 2 additions & 2 deletions src/actions/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ export const verifyPasswordResetCode = (dispatch, firebase, code) => {
* @return {Promise}
* @private
*/
export const updateProfile = (dispatch, firebase, profileUpdate) => {
export const updateProfile = (dispatch, firebase, profileUpdate, options) => {
const { _: { config } } = firebase
dispatch({
type: actionTypes.PROFILE_UPDATE_START,
Expand All @@ -741,7 +741,7 @@ export const updateProfile = (dispatch, firebase, profileUpdate) => {
const updatePromise = config.useFirestoreForProfile
? updateProfileOnFirestore
: updateProfileOnRTDB
return updatePromise(firebase, profileUpdate)
return updatePromise(firebase, profileUpdate, options)
.then(snap => {
dispatch({
type: actionTypes.PROFILE_UPDATE_SUCCESS,
Expand Down