mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 14:05:13 +00:00
shot chart service and models update
This commit is contained in:
@@ -10,5 +10,6 @@ func RegisterPlayerAdvancedRoutes(app *fiber.App, db *gorm.DB) {
|
||||
api := app.Group("/api/playeradvancedstats")
|
||||
|
||||
api.Get("/fetch", controllers.FetchPlayerAdvancedStats(db))
|
||||
api.Get("/", controllers.GetAllAdvancedPlayerStats(db)) // ✅ Add this line
|
||||
api.Get("/scrape", controllers.ScrapePlayerAdvancedStats(db))
|
||||
api.Get("/", controllers.GetAllAdvancedPlayerStats(db))
|
||||
}
|
||||
Reference in New Issue
Block a user