chore: use http.Status* instead of hard code (#1482)
This commit is contained in:
+1
-1
@@ -293,7 +293,7 @@ func githubConfigRouter(router *Engine) {
|
||||
for _, param := range c.Params {
|
||||
output[param.Key] = param.Value
|
||||
}
|
||||
c.JSON(200, output)
|
||||
c.JSON(http.StatusOK, output)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user