@develit-io/backend-sdk 5.39.3 → 5.39.4

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -558,8 +558,8 @@ const ip = () => {
558
558
  message: "Failed to retrieve organization."
559
559
  });
560
560
  }
561
- if (organization.organization.ipAuthorization && context.env.ENVIRONMENT !== "localhost") {
562
- if (!organization.organization.authorizedIps.map((ip2) => ip2.ip).includes(requestIp)) {
561
+ if (organization.ipAuthorization && context.env.ENVIRONMENT !== "localhost") {
562
+ if (!organization.authorizedIps.map((ip2) => ip2.ip).includes(requestIp)) {
563
563
  throw new HTTPException(404, {
564
564
  message: "Forbidden"
565
565
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-io/backend-sdk",
3
- "version": "5.39.3",
3
+ "version": "5.39.4",
4
4
  "description": "Develit Backend SDK",
5
5
  "author": "Develit.io",
6
6
  "license": "ISC",