Skip to content

Scheduling infrastructure for absolutely everyone.

fix: atom builds (#20437)

Omar López92827b2c9daa
diff --git a/apps/api/v2/package.json b/apps/api/v2/package.json
index bab3f9bbf46..d9242e67373 100644
--- a/apps/api/v2/package.json
+++ b/apps/api/v2/package.json
@@ -38,7 +38,7 @@
"@axiomhq/winston": "^1.2.0",
"@calcom/platform-constants": "*",
"@calcom/platform-enums": "*",
- "@calcom/platform-libraries": "npm:@calcom/[email protected]",
+ "@calcom/platform-libraries": "npm:@calcom/[email protected]",
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]",
"@calcom/platform-types": "*",
"@calcom/platform-utils": "*",
diff --git a/apps/api/v2/src/modules/atoms/services/event-types-atom.service.ts b/apps/api/v2/src/modules/atoms/services/event-types-atom.service.ts
index 15a4756f427..118a333e46f 100644
--- a/apps/api/v2/src/modules/atoms/services/event-types-atom.service.ts
+++ b/apps/api/v2/src/modules/atoms/services/event-types-atom.service.ts
@@ -9,8 +9,7 @@ import { UsersService } from "@/modules/users/services/users.service";
import { UserWithProfile } from "@/modules/users/users.repository";
import { Injectable, NotFoundException, ForbiddenException } from "@nestjs/common";
-import { checkAdminOrOwner } from "@calcom/features/auth/lib/checkAdminOrOwner";
-import { getClientSecretFromPayment } from "@calcom/platform-libraries";
+import { checkAdminOrOwner, getClientSecretFromPayment } from "@calcom/platform-libraries";
import type { TeamQuery } from "@calcom/platform-libraries";
import { enrichUserWithDelegationConferencingCredentialsWithoutOrgId } from "@calcom/platform-libraries/app-store";
import { getEnabledAppsFromCredentials, getAppFromSlug } from "@calcom/platform-libraries/app-store";
diff --git a/packages/platform/libraries/index.ts b/packages/platform/libraries/index.ts
index 9cf1a32dc78..587577f7989 100644
--- a/packages/platform/libraries/index.ts
+++ b/packages/platform/libraries/index.ts
@@ -113,3 +113,4 @@ export { SelectedCalendarRepository } from "@calcom/lib/server/repository/select
export { encryptServiceAccountKey } from "@calcom/lib/server/serviceAccountKey";
export { createHandler as createApiKeyHandler } from "@calcom/trpc/server/routers/viewer/apiKeys/create.handler";
export { getCalendarLinks } from "@calcom/lib/bookings/getCalendarLinks";
+export { checkAdminOrOwner } from "@calcom/features/auth/lib/checkAdminOrOwner";
diff --git a/yarn.lock b/yarn.lock
index f39481a35be..5f06e7be4fe 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2297,7 +2297,7 @@ __metadata:
"@axiomhq/winston": ^1.2.0
"@calcom/platform-constants": "*"
"@calcom/platform-enums": "*"
- "@calcom/platform-libraries": "npm:@calcom/[email protected]"
+ "@calcom/platform-libraries": "npm:@calcom/[email protected]"
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]"
"@calcom/platform-types": "*"
"@calcom/platform-utils": "*"
@@ -3335,13 +3335,13 @@ __metadata:
languageName: node
linkType: hard
-"@calcom/platform-libraries@npm:@calcom/[email protected]":
- version: 0.0.159
- resolution: "@calcom/platform-libraries@npm:0.0.159"
+"@calcom/platform-libraries@npm:@calcom/[email protected]":
+ version: 0.0.160
+ resolution: "@calcom/platform-libraries@npm:0.0.160"
dependencies:
"@calcom/features": "*"
"@calcom/lib": "*"
- checksum: 5ce3509a342a24b66c54ed1203bc1db02709cdc8bc4d2c2e1907c30c2efd6eb97bdf6f747a54f8a6deb2c722b0e4efc9afd644811b39d098e04c87859b74cb61
+ checksum: 483d57040ddcaa93d9a77aeb5af2778cf341986e387955363cb17266d46ce297d7a8a3184056dbda3dba539382ddd8d6f0b9086ed52b3f1c96f5c997a3216d2e
languageName: node
linkType: hard