@frontegg/client
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -168,6 +168,10 @@ "use strict"; | ||
contentLength = Buffer.byteLength(bodyData); | ||
proxyReq.setHeader('Content-Type', contentType); | ||
proxyReq.setHeader('Content-Length', contentLength); | ||
proxyReq.write(bodyData); | ||
} | ||
proxyReq.setHeader('Content-Type', contentType); | ||
proxyReq.setHeader('Content-Length', contentLength); | ||
else { | ||
proxyReq.setHeader('Content-Type', contentType); | ||
proxyReq.setHeader('Content-Length', contentLength); | ||
} | ||
} | ||
@@ -174,0 +178,0 @@ }); |
{ | ||
"name": "@frontegg/client", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "Frontegg Javascript Library for backend", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
244616
3619