Implement /api/get_match (will return empty array, match data is currently not stored in ripple)

This commit is contained in:
Howl
2016-05-15 14:04:59 +02:00
parent e043dd9cdf
commit f7559e8cc5
2 changed files with 14 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ func Start(conf common.Conf, dbO *sql.DB) *gin.Engine {
// peppyapi
api.GET("/get_user", PeppyMethod(peppy.GetUser))
api.GET("/get_match", PeppyMethod(peppy.GetMatch))
}
r.NoRoute(v1.Handle404)