debug: log tokenOrSlug in getClientWithProjectsByToken
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -134,6 +134,7 @@ export async function getClientWithProjectsByToken(
|
|||||||
tokenOrSlug: string
|
tokenOrSlug: string
|
||||||
): Promise<ClientProjectSummary | null> {
|
): Promise<ClientProjectSummary | null> {
|
||||||
try {
|
try {
|
||||||
|
console.log("[client-view] lookup:", tokenOrSlug);
|
||||||
// Try slug first
|
// Try slug first
|
||||||
let clientRows = await db
|
let clientRows = await db
|
||||||
.select({
|
.select({
|
||||||
|
|||||||
Reference in New Issue
Block a user