mlbserver 2025.2.21 → 2025.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1285,8 +1285,11 @@ app.get('/', async function(req, res) {
|
|
|
1285
1285
|
team_ids = session.getTeamIds()
|
|
1286
1286
|
for (let i=0; i<session.credentials.fav_teams.length; i++) {
|
|
1287
1287
|
if ( session.credentials.fav_teams[i] != '' ) {
|
|
1288
|
-
|
|
1289
|
-
|
|
1288
|
+
let affiliate_team_ids = session.getAffiliateTeamIds(session.credentials.fav_teams[i])
|
|
1289
|
+
if ( affiliate_team_ids ) {
|
|
1290
|
+
level_ids = levels['All']
|
|
1291
|
+
team_ids += ',' + affiliate_team_ids
|
|
1292
|
+
}
|
|
1290
1293
|
}
|
|
1291
1294
|
}
|
|
1292
1295
|
}
|