title: Google-app-script error invalid assignment left-hand side
body: <p>Hello I'm getting trouble to find this error in google apps script. I reviewed my code a bunch of time and nothing. This code is to use in a webhook in a service that work with inbound marketing which there I have some pop-up forms to get users for my newsletter, and I want this subscribers to my Mail chimp account just to send updates about blog. So I'm using this code below to do it, but I'm getting this error. Sorry If I code wrong.
  The JSON source is like this <a href="https://github.com/ResultadosDigitais/rdocs/blob/master/rdstation_integration.json" rel="nofollow noreferrer">https://github.com/ResultadosDigitais/rdocs/blob/master/rdstation_integration.json</a>
  the md5Hash function I create to give the hash of a string.</p>
  
  <p>Thanks a lot if anyone could help me!</p>
  
  <pre><code>//receive the request
  function doPost(e){
    return mcResponse(e);
  }
  
  //Send information to MC
  function mcResponse(n){
    var email = n.parameter["leads[email]"];
    var nome = n.parameter["leads[name]"];
    var hash = md5Hash(email);
  
  try {
  
    var bodyData = [];
    var mergeFields = ["FNAME" = nome];
    bodyData.push([
      "email_address" = email,
      "status_if_new" = "subscribed",
      "status" = "subscribed",
      "merge_fields" = mergeFields
    ]);
  
    var headers = {
      'Content-type': 'application/json',
      'Authorization': 'apikey ' + API_KEY_MC
    };
  
   var options = {
     'method': 'PUT',
     'headers': JSON.stringify(headers),
     'payload': JSON.stringify(bodyData)
   };
  
   var response = UrlFetchApp.fetch(MC_URL + LIST_ID + '/members/' + hash, options);
   return ContentService.createTextOutput(response.getContentText());
  
   } catch(e){
     return ContentService.createTextOutput(e);
   }
  }
  </code></pre>