summary refs log tree commit diff stats
path: root/bpod
diff options
context:
space:
mode:
Diffstat (limited to 'bpod')
-rw-r--r--bpod/json.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpod/json.go b/bpod/json.go
index 98b43eb..02f6fe1 100644
--- a/bpod/json.go
+++ b/bpod/json.go
@@ -27,9 +27,9 @@ type List struct {
 }
 
 // UnmarshalJson will take body as input & unmarshal it to res,
-func UnmarshalJson(body string) (Res, error) {
+func UnmarshalJson(body string) (BPOD, error) {
 	list := List{}
-	res := Res{}
+	res := BPOD{}
 
 	err := json.Unmarshal([]byte(body), &list)
 	if err != nil {