added todo...

master
Kostanjevec 2022-06-23 21:15:38 +02:00
parent 8ed82f2a9e
commit 85b0a0f8b7
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ from create_db import Card, User, get_session
bp = Blueprint('matches', __name__, url_prefix='/matches')
def get_matches(user_id):
#@TODO this is buggy
dbsession = get_session()
list_of_matches = []
@ -55,4 +56,4 @@ def index():
names_by_ids[id] = users.get(id).username
emails_by_ids[id] = users.get(id).email
return render_template("matches.html", username=username, list_of_matches=list_of_matches, names_by_ids=names_by_ids, emails_by_ids=emails_by_ids, users=users)
return render_template("matches.html", username=username, list_of_matches=list_of_matches, names_by_ids=names_by_ids, emails_by_ids=emails_by_ids, users=users)