Skip to content

fix: keep CRM notes when Google Contacts sync runs - #85

Open
VolodymyrLinuxovich wants to merge 1 commit into
mainfrom
fix/contacts-sync-keeps-notes
Open

VolodymyrLinuxovich wants to merge 1 commit into
mainfrom
fix/contacts-sync-keeps-notes

Conversation

@VolodymyrLinuxovich

Copy link
Copy Markdown
Owner

Fixes #82

Summary

Google Contacts sync no longer overwrites stored notes. It looks up the existing contact by email or by provider id. If that contact has notes the update leaves them alone. If notes are empty the Google biography fills them. New contacts still get the biography.

Validation

  • New google-contacts.test.ts with a fake Prisma client. Two of its three tests fail on main.
  • npm test passes.
  • npm run typecheck and lint pass.

@vercel

vercel Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
largevcmodel Ready Ready Preview Oct 17, 2026 12:57pm UTC

This branch was successfully deployed

1 active deployment
Preview — dde8d160 Deployed Oct 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Google Contacts sync erases notes written in the CRM

1 participant