From 6e215c44fd3eabe2cf5e39539d205559436d017a Mon Sep 17 00:00:00 2001
From: Javier <javiflipsk8@gmail.com>
Date: Thu, 8 Nov 2018 14:51:41 -0500
Subject: [PATCH] New header line 51

The new version of ElasticCache Asks for this header
---
 ElasticSearchLambda/ZombieWorkshopSearchIndexing.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ElasticSearchLambda/ZombieWorkshopSearchIndexing.js b/ElasticSearchLambda/ZombieWorkshopSearchIndexing.js
index 9bf7442..92d9aaf 100644
--- a/ElasticSearchLambda/ZombieWorkshopSearchIndexing.js
+++ b/ElasticSearchLambda/ZombieWorkshopSearchIndexing.js
@@ -48,6 +48,7 @@ function postToES(doc, context) {
     req.region = esDomain.region;
     req.headers['presigned-expires'] = false;
     req.headers['Host'] = endpoint.host;
+    req.headers['Content-Type']='application/json';
     req.body = doc;
 
     console.log('Creating the Signer for the post request');