summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/exampleReq.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/exampleReq.go b/api/exampleReq.go
index d4ec862..40bd55f 100644
--- a/api/exampleReq.go
+++ b/api/exampleReq.go
@@ -20,7 +20,7 @@ type RequestApiName struct {
type ResponseApiName struct {
Bearer *redqdb.Bearer
- Error string
+ Error string `json:"error,omitempty"`
}
func newExamplApiName(db *redqdb.SafeDB) *examplApiName {