Skip to content

Commit d5dbf35

Browse files
Revert "fix eslint"
This reverts commit 26e309f. Signed-off-by: Shashi Sah <[email protected]>
1 parent 26e309f commit d5dbf35

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

shared-libs/rules-engine/src/pouchdb-provider.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,13 @@ const medicPouchProvider = db => {
150150
}
151151

152152
const contactDocs = await Promise.all(
153-
contactIds.map(id => getContact(Qualifier.byUuid(id))
154-
.catch(err => {
155-
console.error(`Error fetching contact ${id}:`, err);
156-
return null;
157-
}))
153+
contactIds.map(id =>
154+
getContact(Qualifier.byUuid(id))
155+
.catch(err => {
156+
console.error(`Error fetching contact ${id}:`, err);
157+
return null;
158+
})
159+
)
158160
);
159161

160162
const validContactDocs = contactDocs.filter(Boolean);

0 commit comments

Comments
 (0)