aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Key.ts
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-13 19:39:37 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-13 19:39:37 -0400
commitd6fd8338a440085c1ba865c4771c0871208e961e (patch)
tree3839b2fb83579b755ba02062079a288ad52d3bb5 /src/fields/Key.ts
parenta23b160d19beff9163f970f7ae678c2aed9ce14e (diff)
cleaning up network data transfer.
Diffstat (limited to 'src/fields/Key.ts')
-rw-r--r--src/fields/Key.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fields/Key.ts b/src/fields/Key.ts
index c7f806b88..57e2dadf0 100644
--- a/src/fields/Key.ts
+++ b/src/fields/Key.ts
@@ -40,11 +40,11 @@ export class Key extends Field {
return name;
}
- ToJson(): { type: Types, data: string, _id: string } {
+ ToJson() {
return {
type: Types.Key,
data: this.name,
- _id: this.Id
+ id: this.Id
};
}
} \ No newline at end of file