fix(api): include name and slug in workspace byId response (#347)

The GET /workspaces/{id} endpoint was missing the workspace's name and
slug fields because they weren't included in the column selection.

Fixes #346

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Nick Meinhold
2026-02-02 09:29:37 +11:00
committed by GitHub
parent 7f5a1ab513
commit ec37f5480a

View File

@@ -185,6 +185,8 @@ export const getByPublicIdWithMembers = (
columns: {
id: true,
publicId: true,
name: true,
slug: true,
showEmailsToMembers: true,
},
with: {