Skip to content

Commit

Permalink
save user photo url
Browse files Browse the repository at this point in the history
  • Loading branch information
untilhamza committed Mar 18, 2023
1 parent 4e0b1cb commit b9b3172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BookingForm/BookingForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const BookingForm = ({ onCancel, onConfirm, oldData, slots, onGetSlots, slotStat
authCtx.handleCustomerLogin();
return;
}
onConfirm({ ...values, userId: authCtx.userId, googleAccountName: authCtx.user.displayName, email: authCtx.user.email });
onConfirm({ ...values, userId: authCtx.userId, googleAccountName: authCtx.user.displayName, email: authCtx.user.email, photoURL: authCtx.user.photoURL });
resetForm();
}}
initialValues={{
Expand Down

0 comments on commit b9b3172

Please sign in to comment.