feat: allow public card access without authentication (#19)

This commit is contained in:
LovelessCodes
2025-06-05 07:05:03 +02:00
committed by GitHub
parent 1698b744e4
commit 356e35964b
2 changed files with 13 additions and 9 deletions

View File

@@ -731,6 +731,7 @@ export const getWorkspaceAndCardIdByCardPublicId = async (
board: {
columns: {
workspaceId: true,
visibility: true,
},
},
},
@@ -742,6 +743,7 @@ export const getWorkspaceAndCardIdByCardPublicId = async (
? {
id: result.id,
workspaceId: result.list.board.workspaceId,
workspaceVisibility: result.list.board.visibility,
}
: null;
};