Ooops, it was status
This commit is contained in:
parent
189a0cbb02
commit
b29c64023f
|
@ -6,12 +6,12 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type statusResponse struct {
|
type statusResponse struct {
|
||||||
Response int `json:"response"`
|
Status int `json:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Status is used for checking the API is up by the ripple website, on the status page.
|
// Status is used for checking the API is up by the ripple website, on the status page.
|
||||||
func Status(c *gin.Context) {
|
func Status(c *gin.Context) {
|
||||||
c.JSON(200, statusResponse{
|
c.JSON(200, statusResponse{
|
||||||
Response: 1,
|
Status: 1,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user