Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: fixing build

Andrej2c6637ba66c9
diff --git a/apps/api/src/workspace/controllers/get-workspaces.ts b/apps/api/src/workspace/controllers/get-workspaces.ts
index 2dd35bd25..fa2dfe754 100644
--- a/apps/api/src/workspace/controllers/get-workspaces.ts
+++ b/apps/api/src/workspace/controllers/get-workspaces.ts
@@ -11,7 +11,7 @@ async function getWorkspaces({ userEmail }: { userEmail: string }) {
.select({
id: workspaceTable.id,
name: workspaceTable.name,
- userEmail: workspaceTable.ownerEmail,
+ ownerEmail: workspaceTable.ownerEmail,
})
.from(workspaceTable)
.leftJoin(
diff --git a/apps/web/src/types/workspace/index.ts b/apps/web/src/types/workspace/index.ts
index 6655b78c6..c8d15ff28 100644
--- a/apps/web/src/types/workspace/index.ts
+++ b/apps/web/src/types/workspace/index.ts
@@ -1,5 +1,5 @@
export type Workspace = {
id: string;
name: string;
- ownerId: string;
+ ownerEmail: string;
};