propro-utils 1.5.29 → 1.5.30

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.29",
3
+ "version": "1.5.30",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -370,7 +370,7 @@ class AuthMiddleware {
370
370
  let formattedAuthUrl = formatRedirectUrl(this.options.authUrl) + path;
371
371
 
372
372
  if (!accessToken) {
373
- formattedAuthUrl = `${formattedAuthUrl}&clientId=${this.options.clientId}&redirectUri=${this.options.redirectUri}`;
373
+ formattedAuthUrl = `${formattedAuthUrl}?clientId=${this.options.clientId}&redirectUri=${this.options.redirectUri}`;
374
374
  }
375
375
 
376
376
  const data = req.file ? formData : req.body;