From e901bcef85edad65e7b0f319ad3af7549079292f Mon Sep 17 00:00:00 2001 From: lyx0 Date: Sun, 24 Oct 2021 18:18:05 +0200 Subject: [PATCH] wrong json error --- pkg/api/ivr/randomquote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/ivr/randomquote.go b/pkg/api/ivr/randomquote.go index c6abb9c..b48a526 100644 --- a/pkg/api/ivr/randomquote.go +++ b/pkg/api/ivr/randomquote.go @@ -13,7 +13,7 @@ type randomQuoteApiResponse struct { User string `json:"user"` Message string `json:"message"` Time string `json:"time"` - Error string `json:"Error"` + Error string `json:"error"` } // FirstLine returns the first line a given user has sent in a