fix
This commit is contained in:
@@ -80,7 +80,8 @@ export class OAuthService {
|
||||
}
|
||||
|
||||
// Get profile information using authenticated agent
|
||||
if (this.agent) {
|
||||
// Skip test DIDs
|
||||
if (this.agent && did && !did.includes('test-')) {
|
||||
try {
|
||||
await new Promise(resolve => setTimeout(resolve, 300))
|
||||
const profile = await this.agent.getProfile({ actor: did })
|
||||
@@ -98,6 +99,8 @@ export class OAuthService {
|
||||
console.log('Failed to get profile from session:', error)
|
||||
// Keep the basic info we have
|
||||
}
|
||||
} else if (did && did.includes('test-')) {
|
||||
console.log('Skipping profile fetch for test DID:', did)
|
||||
}
|
||||
|
||||
this.sessionInfo = {
|
||||
|
Reference in New Issue
Block a user