Fix case mismatch in error JSON (adding tag)
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type ServerErrMessage struct {
|
type ServerErrMessage struct {
|
||||||
Reason string
|
Reason string `json:"reason"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func WriteErrorResponse(statusCode int, reasonMsg string, res http.ResponseWriter) {
|
func WriteErrorResponse(statusCode int, reasonMsg string, res http.ResponseWriter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user