Skip to content

Commit

Permalink
Fix newsletter report
Browse files Browse the repository at this point in the history
  • Loading branch information
wpf500 committed Jul 31, 2024
1 parent a7293a7 commit 774372d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/services/ContactsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ class ContactsService {
ids: string[],
options?: FindOneOptions<Contact>
): Promise<Contact[]> {
return await getRepository(Contact).findBy({ id: In(ids), ...options });
return await getRepository(Contact).find({
where: { id: In(ids) },
...options
});
}

async findOne(
Expand Down

0 comments on commit 774372d

Please sign in to comment.