propro-utils 1.5.6 → 1.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -354,9 +354,12 @@ class AuthMiddleware {
354
354
 
355
355
  const data = req.file ? formData : req.body;
356
356
 
357
+ console.log('formattedAuthUrl:', formattedAuthUrl);
358
+ console.log('data:', data);
359
+
357
360
  return axios({
358
361
  method: req.method,
359
- url: `${formattedAuthUrl}${path}`,
362
+ url: `${formattedAuthUrl}`,
360
363
  data: data,
361
364
  headers: headers,
362
365
  maxContentLength: Infinity,