chore(debug): log tenant token parent uid for troubleshooting
This commit is contained in:
parent
688dc3d231
commit
3c686e7ac2
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ export async function generateTenantToken(userId, organizationIds, expiresIn = 3
|
|||
|
||||
// Ensure a string is returned across client versions
|
||||
const parentUid = await ensureTenantKeyUid();
|
||||
console.log('[Meilisearch][TenantToken] Using parent uid:', parentUid);
|
||||
const token = await client.generateTenantToken(parentUid, searchRules, { expiresAt });
|
||||
|
||||
return typeof token === 'string' ? token : String(token);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue