@@ -43,6 +43,7 @@ The current API routing scheme is simple, but disorganized, due to all API route
...
@@ -43,6 +43,7 @@ The current API routing scheme is simple, but disorganized, due to all API route
`.route( "/seasons/list" )
`.route( "/seasons/list" )
.withAction( {
.withAction( {
GET = "list"
GET = "list"
} )
.toHandler( "seasons" )`
.toHandler( "seasons" )`
*TODO*: Look at breaking up API endpoints to the relevant modules, e.g. referee-related API endpoints to the referee module and then using `.toModuleRouting()`
*TODO*: Look at breaking up API endpoints to the relevant modules, e.g. referee-related API endpoints to the referee module and then using `.toModuleRouting()`