Ooops, it was status

This commit is contained in:
Howl 2016-04-10 23:18:56 +02:00
parent 189a0cbb02
commit b29c64023f
1 changed files with 2 additions and 2 deletions

View File

@ -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,
}) })
} }