function updateGiftError(giftData, giftKey){
    //alert("A gift needs to be updated! Key: " + giftKey);
    firebase.database().ref("users/" + user.uid + "/giftList/" + giftKey).update({
      buyer: ""
    });
  }
//This function updates a gift if it was found to have an out-of-date buyer.
This function updates a gift if it was found to have an out-of-date buyer.
This function updates a gift if it was found to have an out - of - date buyer .
function updateGiftError(giftData, giftKey){
    firebase.database().ref("users/" + user.uid + "/giftList/" + giftKey).update({
      buyer: ""
    });
  }
function updateGiftError ( giftData , giftKey ) { firebase . database ( ) . ref ( "users/" + user . uid + "/giftList/" + giftKey ) . update ( { buyer : "" } ) ; }
This function updates a gift if it was found to have an out-of-date buyer.
This function updates a gift if it was found to have an out - of - date buyer .
//alert("A gift needs to be updated! Key: " + giftKey);