mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-30 02:37:46 +03:00
Qfix restore elastic (#5430)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
parent
df5aa8f7b5
commit
7563aaa862
@ -253,8 +253,8 @@ class ElasticDataAdapter implements DbAdapter {
|
||||
const operations = part.flatMap((doc) => [
|
||||
{ index: { _index: this.indexName, _id: doc._id } },
|
||||
{
|
||||
workspaceId: toWorkspaceString(this.workspaceId),
|
||||
...(doc as FullTextData).data
|
||||
...(doc as FullTextData).data,
|
||||
workspaceId: toWorkspaceString(this.workspaceId)
|
||||
}
|
||||
])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user