Fix Ping Method for using the default org_id and project_id (#2590)

This commit is contained in:
Saket Aryan
2025-04-28 12:53:52 +05:30
committed by GitHub
parent 1d916c9dd1
commit 6d13e83001
3 changed files with 8 additions and 3 deletions

View File

@@ -193,8 +193,8 @@ export default class MemoryClient {
const { org_id, project_id, user_email } = data;
this.organizationId = org_id || null;
this.projectId = project_id || null;
this.organizationId = this.organizationId || org_id || null;
this.projectId = this.projectId || project_id || null;
this.telemetryId = user_email || "";
}