aboutsummaryrefslogtreecommitdiff
path: root/src/client/Server.ts
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-02-13 16:38:09 -0500
committeryipstanley <stanley_yip@brown.edu>2019-02-13 16:38:09 -0500
commit430878f6dd8d36b1322e15d0898ada0d44fecacb (patch)
tree027fb9b578a3fee8d97b16922a930806da00afaa /src/client/Server.ts
parent2eb147ab8f25e6dd90f47cf21499c7340642f0c9 (diff)
Asdfjkla/sdfklj
Diffstat (limited to 'src/client/Server.ts')
-rw-r--r--src/client/Server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Server.ts b/src/client/Server.ts
index 30fc57c93..a08fc2e87 100644
--- a/src/client/Server.ts
+++ b/src/client/Server.ts
@@ -48,8 +48,8 @@ export class Server {
public static DeleteDocumentField(doc: Document, key: Key) {
SocketStub.SEND_DELETE_DOCUMENT_FIELD(doc, key);
}
- public static SetFieldValue(field: Field, value: any) {
- SocketStub.SEND_SET_FIELD(field, value);
+ public static UpdateField(field: Field) {
+ SocketStub.SEND_SET_FIELD(field);
}
static connected(message: string) {