Rename get_topset function

This commit is contained in:
Peter Stockings
2022-11-19 20:36:03 +11:00
parent a1fa9557ea
commit ab08c19e6a
2 changed files with 2 additions and 2 deletions

2
db.py
View File

@@ -182,7 +182,7 @@ class DataBase():
'TopSets': [{"TopSetId": t['TopSetId'], "ExerciseId": t['ExerciseId'], "ExerciseName": t['ExerciseName'], "Weight": t['Weight'], "Repetitions": t['Repetitions']} for t in topsets if t['TopSetId'] is not None]
}
def get_topset_final(self, person_id, workout_id, topset_id):
def get_topset(self, person_id, workout_id, topset_id):
topset = self.execute("""
SELECT
P.PersonId AS "PersonId",