summary refs log tree commit diff stats
path: root/bpod
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-25 00:50:20 +0530
committerAndinus <andinus@nand.sh>2020-03-25 00:50:20 +0530
commit509622432b2e0691b7d4cf2ccf210bd639d69d63 (patch)
tree04582d611453caf8830107e06853826038c40f90 /bpod
parent989d6341eeeddd46eaf016bacb89ad533211c0b8 (diff)
downloadcetus-509622432b2e0691b7d4cf2ccf210bd639d69d63.tar.gz
Add bpod support
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 {