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