Fix case mismatch in error JSON (adding tag)

This commit is contained in:
pancho horrillo
2019-11-18 17:44:39 +01:00
parent 4c7eae8ebb
commit 1249b23458
+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
type ServerErrMessage struct {
Reason string
Reason string `json:"reason"`
}
func WriteErrorResponse(statusCode int, reasonMsg string, res http.ResponseWriter) {