mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-26 11:34:58 +02:00
Token moved to server-core
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user