fix(app.js) clean

main
Valentin 2024-06-06 16:53:19 +02:00
parent 132758e470
commit 9556e5a0f1
1 changed files with 0 additions and 12 deletions

12
app.py
View File

@ -122,18 +122,6 @@ def assignTeam(idUser, idTeam,idSport):
team.idUser = idUser team.idUser = idUser
db.session.commit() db.session.commit()
def getWNBATeamMatches(idTeam):
result = []
matches_info = getWNBASchedules()
for i in matches_info:
if (i['WNBA_hometeamName'] == getTeamName(idTeam) or i['WNBA_awayteamName'] == getTeamName(idTeam)):
result.append(i)
return result
def getTeamLogo(idTeam, idSport): def getTeamLogo(idTeam, idSport):
match idSport: match idSport:
case 1: case 1: