Everything is plural except for this, so yeah
This commit is contained in:
parent
0b7ca1a370
commit
c5863063f1
|
@ -18,7 +18,7 @@ func Start(conf common.Conf, db *sql.DB) *gin.Engine {
|
||||||
{
|
{
|
||||||
gv1 := api.Group("/v1")
|
gv1 := api.Group("/v1")
|
||||||
{
|
{
|
||||||
gv1.POST("/token/new", Method(v1.TokenNewPOST, db))
|
gv1.POST("/tokens/new", Method(v1.TokenNewPOST, db))
|
||||||
|
|
||||||
// Auth-free API endpoints
|
// Auth-free API endpoints
|
||||||
gv1.GET("/ping", Method(v1.PingGET, db))
|
gv1.GET("/ping", Method(v1.PingGET, db))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user