summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2025-02-27 23:19:07 +0100
committerJulien Dessaux2025-02-27 23:19:07 +0100
commitbefa188552b503aa3a9e624d7e9fc5d67128c9bb (patch)
tree77bca5528e91f19cd3711ed1a484833ba21c3f8a
parent[golang] finished implementing procument contracts (diff)
downloadspacetraders-master.tar.gz
spacetraders-master.tar.bz2
spacetraders-master.zip
[golang] update register response struct for new breaking API changeHEADmaster
-rw-r--r--golang/pkg/model/register.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/golang/pkg/model/register.go b/golang/pkg/model/register.go
index 36604cf..648abec 100644
--- a/golang/pkg/model/register.go
+++ b/golang/pkg/model/register.go
@@ -4,6 +4,6 @@ type Register struct {
Agent *Agent `json:"agent"`
//contract
//faction
- Ship *Ship `json:"ship"`
+ Ships []Ship `json:"ships"`
Token string `json:"token"`
}