Implement get_scores in peppyapi
This commit is contained in:
@@ -119,6 +119,7 @@ func Start(conf common.Conf, dbO *sqlx.DB) *gin.Engine {
|
||||
api.GET("/get_match", PeppyMethod(peppy.GetMatch))
|
||||
api.GET("/get_user_recent", PeppyMethod(peppy.GetUserRecent))
|
||||
api.GET("/get_user_best", PeppyMethod(peppy.GetUserBest))
|
||||
api.GET("/get_scores", PeppyMethod(peppy.GetScores))
|
||||
}
|
||||
|
||||
r.NoRoute(v1.Handle404)
|
||||
|
Reference in New Issue
Block a user