We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72f81b3 commit c6cf6d4Copy full SHA for c6cf6d4
pkg/api/common.go
@@ -79,7 +79,7 @@ func Json(status int, body interface{}) *NormalResponse {
79
func ApiSuccess(message string) *NormalResponse {
80
resp := make(map[string]interface{})
81
resp["message"] = message
82
- return Respond(200, resp)
+ return Json(200, resp)
83
}
84
85
func ApiError(status int, message string, err error) *NormalResponse {
0 commit comments