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 26e309f commit d5dbf35Copy full SHA for d5dbf35
shared-libs/rules-engine/src/pouchdb-provider.js
@@ -150,11 +150,13 @@ const medicPouchProvider = db => {
150
}
151
152
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
- }))
+ contactIds.map(id =>
+ getContact(Qualifier.byUuid(id))
+ .catch(err => {
+ console.error(`Error fetching contact ${id}:`, err);
+ return null;
158
+ })
159
+ )
160
);
161
162
const validContactDocs = contactDocs.filter(Boolean);
0 commit comments