Skip to content

Commit 26e309f

Browse files
fix eslint
Signed-off-by: Shashi Sah <[email protected]>
1 parent d344003 commit 26e309f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

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

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

152152
const contactDocs = await Promise.all(
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-
)
153+
contactIds.map(id => getContact(Qualifier.byUuid(id))
154+
.catch(err => {
155+
console.error(`Error fetching contact ${id}:`, err);
156+
return null;
157+
}))
160158
);
161159

162160
const validContactDocs = contactDocs.filter(Boolean);

0 commit comments

Comments
 (0)