From 616d9297eb8213ab856272400083099555156d6e Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 2 Mar 2026 04:08:59 +0000 Subject: [PATCH] sync --- .../src/database/repos/workspace/workspace.repo.ts | 11 +++++++++++ apps/server/src/ee | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/server/src/database/repos/workspace/workspace.repo.ts b/apps/server/src/database/repos/workspace/workspace.repo.ts index e4e6d342..deb52a93 100644 --- a/apps/server/src/database/repos/workspace/workspace.repo.ts +++ b/apps/server/src/database/repos/workspace/workspace.repo.ts @@ -68,6 +68,17 @@ export class WorkspaceRepo { return query.executeTakeFirst(); } + async findLicenseKeyById( + workspaceId: string, + ): Promise { + const row = await this.db + .selectFrom('workspaces') + .select('licenseKey') + .where('id', '=', workspaceId) + .executeTakeFirst(); + return row?.licenseKey; + } + async findFirst(): Promise { return await this.db .selectFrom('workspaces') diff --git a/apps/server/src/ee b/apps/server/src/ee index 0b3a6f4a..faf5aba4 160000 --- a/apps/server/src/ee +++ b/apps/server/src/ee @@ -1 +1 @@ -Subproject commit 0b3a6f4af08e46074d63f26b0ce52e6b4dbd6333 +Subproject commit faf5aba4a86dd02b80f77c13dabd3b8c6eea31c5