Everything is plural except for this, so yeah

This commit is contained in:
Howl 2016-04-10 00:07:16 +02:00
parent 0b7ca1a370
commit c5863063f1

View File

@ -18,7 +18,7 @@ func Start(conf common.Conf, db *sql.DB) *gin.Engine {
{
gv1 := api.Group("/v1")
{
gv1.POST("/token/new", Method(v1.TokenNewPOST, db))
gv1.POST("/tokens/new", Method(v1.TokenNewPOST, db))
// Auth-free API endpoints
gv1.GET("/ping", Method(v1.PingGET, db))