twenty/packages
martmull 0f7ebd3026
Fix wrong getAll keyValue method (#8603)
Fixes
https://github.com/twentyhq/twenty/issues/8520#issuecomment-2485913500

- Fix the getAll key-value pairs method, as it returns incorrect
results. The keyVar values were being affected by keyValues from other
workspaces.
- Fix missing Sync Email step for existing users joining existing
workspace
  
Before, this method returned keyValues that verifies:
- workspaceId = user.defaultWorkspaceId
- userId = user.id

This method now returns:
- userId = null && workspaceId = user.defaultWorkspaceId
- userId = user.id && workspaceId = null
- userId = user.id && workspaceId = user.defaultWorkspaceId

## Result


https://github.com/user-attachments/assets/b7563db6-a6a8-4e09-a0c6-c372d7e2b712
2024-11-20 15:41:42 +00:00
..
twenty-chrome-extension Settings Option Card component (#8456) 2024-11-18 09:22:33 +00:00
twenty-docker Fail entrypoint if migration fails (#8590) 2024-11-19 18:57:15 +01:00
twenty-e2e-testing Begin moving to postgres spilo + adding pgvector (#8309) 2024-11-15 09:38:30 +01:00
twenty-emails Fix typo in branch name (#8480) 2024-11-13 19:35:15 +01:00
twenty-front fix: empty composite field input (#8451) 2024-11-20 15:39:55 +01:00
twenty-server Fix wrong getAll keyValue method (#8603) 2024-11-20 15:41:42 +00:00
twenty-tinybird refactor webhookAnalytics call and enrich analytics module (#8253) 2024-11-08 10:00:51 +01:00
twenty-ui Feature 7552 patch (#8574) 2024-11-19 12:47:33 +01:00
twenty-utils Fix docs build in CI (#5826) 2024-06-11 19:06:37 +02:00
twenty-website Fix composite subfields format in OpenAPI schema (#8592) 2024-11-20 10:06:05 +01:00
twenty-zapier Update zapier trigger payload (#8464) 2024-11-12 17:58:36 +01:00