diff options
author | Sam Wilkins <samuel_wilkins@brown.edu> | 2019-06-17 13:38:15 -0400 |
---|---|---|
committer | Sam Wilkins <samuel_wilkins@brown.edu> | 2019-06-17 13:38:15 -0400 |
commit | de0304b2966ebdede9d9db8c510e19020046115c (patch) | |
tree | 43ff84d63818109ca7af8147e16e91f240465b8f /src/client/documents/Documents.ts | |
parent | a3e1f7332e0cb96dae0abd80a2972ae74ac31104 (diff) |
peripheral renaming fixes
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 b10954636..758291b9b 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -98,7 +98,7 @@ export namespace Docs { // non-guid string ids for each document prototype let protoIds = [textProtoId, histoProtoId, collProtoId, imageProtoId, webProtoId, kvpProtoId, videoProtoId, audioProtoId, pdfProtoId, iconProtoId] // fetch the actual prototype documents from the server - let actualProtos = await DocServer.GetRefFields(protoIds); + let actualProtos = await DocServer.getRefFields(protoIds); // initialize prototype documents textProto = actualProtos[textProtoId] as Doc || CreateTextProto(); @@ -363,7 +363,7 @@ export namespace Docs { CurrentUserUtils.AddNorthstarSchema(schema, schemaDoc); const docs = schemaDocuments; CurrentUserUtils.GetAllNorthstarColumnAttributes(schema).map(attr => { - DocServer.GetRefField(attr.displayName! + ".alias").then(action((field: Opt<Field>) => { + DocServer.getRefField(attr.displayName! + ".alias").then(action((field: Opt<Field>) => { if (field instanceof Doc) { docs.push(field); } else { |