We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be0d38 commit 917efd3Copy full SHA for 917efd3
backend/src/database/repositories/organizationRepository.ts
@@ -341,7 +341,8 @@ class OrganizationRepository {
341
const existingOrg = existingOrgs.find((o) => o.id === org.id)
342
if (existingOrg && existingOrg.tags) {
343
// Merge existing and new tags without duplicates
344
- org.tags = lodash.uniq([...existingOrg.tags, ...org.tags])
+ const incomingTags = org.tags || []
345
+ org.tags = lodash.uniq([...existingOrg.tags, ...incomingTags])
346
}
347
return org
348
})
0 commit comments