debug: log tokenOrSlug in getClientWithProjectsByToken

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 18:40:18 +02:00
parent 7f9150b75a
commit 78a65f6ced
+1
View File
@@ -134,6 +134,7 @@ export async function getClientWithProjectsByToken(
tokenOrSlug: string
): Promise<ClientProjectSummary | null> {
try {
console.log("[client-view] lookup:", tokenOrSlug);
// Try slug first
let clientRows = await db
.select({