Fix Ping Method for using the default org_id and project_id (#2590)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mem0ai",
|
||||
"version": "2.1.19",
|
||||
"version": "2.1.20",
|
||||
"description": "The Memory Layer For Your AI Apps",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.mjs",
|
||||
|
||||
@@ -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 || "";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user