Try to remove as many as as possible (#6200)

* Try to remove as many ` as ` as possible

* Fix imports
This commit is contained in:
Daniel Espino García
2022-05-12 15:46:11 +02:00
committed by GitHub
parent f62dcd42f7
commit 75d1c9d228
101 changed files with 298 additions and 302 deletions

View File

@@ -31,9 +31,9 @@ export const sanitizeThreadParticipants = async ({database, skipSync, thread_id,
);
}
const participants = (await database.collections.
get(THREAD_PARTICIPANT).
get<ThreadParticipantModel>(THREAD_PARTICIPANT).
query(...clauses).
fetch()) as ThreadParticipantModel[];
fetch());
// similarObjects: Contains objects that are in both the RawParticipant array and in the ThreadParticipant table
const similarObjects = new Set<ThreadParticipantModel>();