Token moved to server-core

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-08-28 09:08:41 +02:00
parent 64539d6aa7
commit fd6c4064c1
6 changed files with 22 additions and 19 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ import type { DbAdapter, TxAdapter } from '@anticrm/server-core'
import { MongoClient, Db, Filter, Document, Sort } from 'mongodb'
function translateQuery<T extends Doc> (query: DocumentQuery<T>): Filter<T> {
return query as Filter<T>
function translateQuery<T extends Doc> (query: DocumentQuery<T>): Filter<Document> {
return query as Filter<Document>
}
function translateDoc (doc: Doc): Document {