Fix case mismatch in error JSON (adding tag)
This commit is contained in:
1 parent
4c7eae8ebb
commit
1249b23458
1 file changed
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type ServerErrMessage struct {
|
||||
Reason string
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
func WriteErrorResponse(statusCode int, reasonMsg string, res http.ResponseWriter) {
|
||||
|
||||
Reference in new issue
Block a user