fix: Wrong parameter in report_cheater
This commit is contained in:
@@ -16,7 +16,7 @@ bp = Blueprint(directory_name, __name__, template_folder="templates")
|
|||||||
|
|
||||||
|
|
||||||
def report_cheater(challenge_id: int, cheater_id: int, helper_id: int, flag_id: int):
|
def report_cheater(challenge_id: int, cheater_id: int, helper_id: int, flag_id: int):
|
||||||
cheater = CheaterTeams(challenge_id, cheater_id, helper_id, flag)
|
cheater = CheaterTeams(challenge_id, cheater_id, helper_id, flag_id)
|
||||||
db.session.add(cheater)
|
db.session.add(cheater)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user