diff options
author | andrewdkim <adkim414@gmail.com> | 2020-02-22 13:52:36 -0500 |
---|---|---|
committer | andrewdkim <adkim414@gmail.com> | 2020-02-22 13:52:36 -0500 |
commit | fd7f4618f23ee547d8dd14d54172085875058667 (patch) | |
tree | 7486436efed7030326ac7030029729046dc2e019 /src/client/documents/Documents.ts | |
parent | 2352407ef1722031df20e51f3dce7aff6f3f6c00 (diff) |
push
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 622486435..144554cbc 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -594,8 +594,8 @@ export namespace Docs { return InstanceFromProto(Prototypes.get(DocumentType.RECOMMENDATION), new List<Doc>(data), options); } - export function SearchDocument(data: Doc[], options: DocumentOptions = {}) { - return InstanceFromProto(Prototypes.get(DocumentType.SEARCH), new List<Doc>(data), options); + export function SearchDocument(options: DocumentOptions = {}) { + return InstanceFromProto(Prototypes.get(DocumentType.SEARCH), new List<Doc>(), options); } export type DocConfig = { |