-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix domainName seeds #6454
Fix domainName seeds #6454
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
The domainNamePrimaryLinkUrl
property in companies.ts
has been simplified from an object to a string.
- Modified
packages/twenty-server/src/database/typeorm-seeds/workspace/companies.ts
to changedomainNamePrimaryLinkUrl
from an object to a string. - Ensure dependent code is updated to handle the new string format.
- Test the seeding process to confirm compatibility with the new data structure.
1 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings
@@ -42,7 +42,7 @@ export const seedCompanies = async ( | |||
{ | |||
id: DEV_SEED_COMPANY_IDS.LINKEDIN, | |||
name: 'Linkedin', | |||
domainNamePrimaryLinkUrl: { primarlyLinkUrl: 'https://linkedin.com' }, | |||
domainNamePrimaryLinkUrl: 'https://linkedin.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Ensure all dependent code is updated to handle the new string format for domainNamePrimaryLinkUrl.
@@ -54,7 +54,7 @@ export const seedCompanies = async ( | |||
{ | |||
id: DEV_SEED_COMPANY_IDS.FACEBOOK, | |||
name: 'Facebook', | |||
domainNamePrimaryLinkUrl: { primarlyLinkUrl: 'https://facebook.com' }, | |||
domainNamePrimaryLinkUrl: 'https://facebook.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check: Verify that the seeding process works correctly with the updated domainNamePrimaryLinkUrl format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.