TypeScript
fix(server): repair ownership UUID generation (#19298)
Theo Browne94ca023bf488
diff --git a/apps/server/src/serverOwnership.ts b/apps/server/src/serverOwnership.tsindex 818c4cce29d..12d6b1a79b7 100644--- a/apps/server/src/serverOwnership.ts+++ b/apps/server/src/serverOwnership.ts@@ -94,9 +94,9 @@ export const acquireServerOwnership = Effect.fn("acquireServerOwnership")(functi) {const stateDir = NodePath.dirname(statePath);const crypto = yield* Crypto.Crypto;- const ownerId = yield* crypto.randomUUIDv4.pipe(- Effect.mapError((cause) => new ServerOwnershipError({ stateDir, cause })),- );+ const ownerId = yield* crypto+ .randomUUIDv4()+ .pipe(Effect.mapError((cause) => new ServerOwnershipError({ stateDir, cause })));yield* Effect.acquireRelease(Effect.try({try: () => {