@mondaydotcomorg/monday-authorization 3.1.1-feature-bashanye-fix-platform-url.d268e4c → 3.1.1

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.
@@ -333,10 +333,10 @@ function createAuthorizationParams(resources, action) {
333
333
  return params;
334
334
  }
335
335
  function getAuthorizeUrl() {
336
- return `${process.env.MONDAY_INTERNAL_URL}/internal_ms/authorization/authorize`;
336
+ return '/internal_ms/authorization/authorize';
337
337
  }
338
338
  function getCanActionsInScopesUrl() {
339
- return `${process.env.MONDAY_INTERNAL_URL}/internal_ms/authorization/can_actions_in_scopes`;
339
+ return '/internal_ms/authorization/can_actions_in_scopes';
340
340
  }
341
341
 
342
342
  exports.AuthorizationService = AuthorizationService;
@@ -325,10 +325,10 @@ function createAuthorizationParams(resources, action) {
325
325
  return params;
326
326
  }
327
327
  function getAuthorizeUrl() {
328
- return `${process.env.MONDAY_INTERNAL_URL}/internal_ms/authorization/authorize`;
328
+ return '/internal_ms/authorization/authorize';
329
329
  }
330
330
  function getCanActionsInScopesUrl() {
331
- return `${process.env.MONDAY_INTERNAL_URL}/internal_ms/authorization/can_actions_in_scopes`;
331
+ return '/internal_ms/authorization/can_actions_in_scopes';
332
332
  }
333
333
 
334
334
  export { AuthorizationService, createAuthorizationParams, setIgniteClient, setRedisClient, setRequestFetchOptions };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mondaydotcomorg/monday-authorization",
3
- "version": "3.1.1-feature-bashanye-fix-platform-url.d268e4c",
3
+ "version": "3.1.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "BSD-3-Clause",