aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-06-26 22:36:09 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-06-26 22:36:09 -0400
commit212c8be0d974a76246193303408d647896ec232c (patch)
treed5fb2629fd57b16bcf1649cb5ce0093065e80bfd /src/client/documents/Documents.ts
parent943ee465b4179705257a106948a35c2ef85fa671 (diff)
parent68a71ec1af52e1e23374c2062c9f809e5fc905d6 (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web into searchUI
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 4193e0b5f..6def4d135 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -214,7 +214,7 @@ export namespace Docs {
return audioProto;
}
- function CreateInstance(proto: Doc, data: Field, options: DocumentOptions, delegId?: string) {
+ export function CreateInstance(proto: Doc, data: Field, options: DocumentOptions, delegId?: string) {
const { omit: protoProps, extract: delegateProps } = OmitKeys(options, delegateKeys);
if (!("author" in protoProps)) {
protoProps.author = CurrentUserUtils.email;