aboutsummaryrefslogtreecommitdiff
path: root/src/server/Client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Client.ts')
-rw-r--r--src/server/Client.ts12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/server/Client.ts b/src/server/Client.ts
index 6b8841658..e6f953712 100644
--- a/src/server/Client.ts
+++ b/src/server/Client.ts
@@ -1,15 +1,11 @@
import { computed } from "mobx";
export class Client {
- constructor(guid: string) {
- this.guid = guid
- }
+ private _guid: string;
- private guid: string;
-
- @computed
- public get GUID(): string {
- return this.guid
+ constructor(guid: string) {
+ this._guid = guid;
}
+ @computed public get GUID(): string { return this._guid; }
} \ No newline at end of file