summaryrefslogtreecommitdiff
path: root/golang/pkg/model/register.go
diff options
context:
space:
mode:
Diffstat (limited to 'golang/pkg/model/register.go')
-rw-r--r--golang/pkg/model/register.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/golang/pkg/model/register.go b/golang/pkg/model/register.go
index cf48b8b..36604cf 100644
--- a/golang/pkg/model/register.go
+++ b/golang/pkg/model/register.go
@@ -1,9 +1,9 @@
package model
type Register struct {
- Agent Agent `json:"agent"`
+ Agent *Agent `json:"agent"`
//contract
//faction
- Ship Ship `json:"ship"`
+ Ship *Ship `json:"ship"`
Token string `json:"token"`
}