From 0cf22cc4e31c6fdedb3208c9909c8ae51a7f2808 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Wed, 15 Nov 2017 16:43:55 -0700 Subject: [PATCH] Fix typo in actions field --- types/server_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/server_types.go b/types/server_types.go index c719d965..b6f1ba6a 100644 --- a/types/server_types.go +++ b/types/server_types.go @@ -32,7 +32,7 @@ func (r *RawResource) MarshalJSON() ([]byte, error) { if r.ActionLinks { data["actionLinks"] = r.Actions } else { - data["action"] = r.Actions + data["actions"] = r.Actions } return json.Marshal(data) }