Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTaylor3D committed Sep 8, 2022
1 parent 862c23b commit 4536a9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/models/organizations/organizations.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,11 @@ class Organization extends Model {
allSubscribedOrganizations.map((organization) => {
const onResult = (data) => {
const updateData = data
.filter(({ dataEntry }) => current.key !== 'registryId' || !dataEntry.key.includes('meta_'))
.filter(
({ dataEntry }) =>
dataEntry.key !== 'registryId' ||
!dataEntry.key.includes('meta_'),
)
.reduce((update, current) => {
update[current.key] = current.value;
return update;
Expand Down

0 comments on commit 4536a9a

Please sign in to comment.