Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 committed Feb 10, 2025
1 parent 645c2fd commit 6945c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/app/core/services/integration/tracking.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ export class TrackingService {
}
}

onOpenLandingPage(userId: string | undefined, orgId: number, fyleOrgId: string): void {
onOpenLandingPage(userId: string | undefined, fyleOrgId: string): void {
try {
if (this.tracking) {
this.tracking.identify(userId);
this.tracking.people.set({
orgId,
fyleOrgId
});
this.identityEmail = userId;
Expand Down
2 changes: 1 addition & 1 deletion src/app/integrations/integrations.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class IntegrationsComponent implements OnInit {
this.user = this.userService.getUserProfile();
this.getOrCreateOrg().then((org: Org | undefined) => {
if (org) {
this.trackingService.onOpenLandingPage(this.user?.user_id, org.id, org.name);
this.trackingService.onOpenLandingPage(this.user?.user_id, org.fyle_org_id);
this.org = org;
this.storageService.set('orgId', this.org.id);
this.storageService.set('org', this.org);
Expand Down

0 comments on commit 6945c02

Please sign in to comment.