This commit is contained in:
Ross
2021-12-20 10:22:39 +00:00
parent e3ea5e9a6f
commit 5f32cce58d
20 changed files with 192 additions and 43 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ def loadJsonAnswer(answer):
# in the frontend this is appended with the type
# e.g. anatomy/1
# TODO Update to only allow valid CIDs
# TODO Update to only allow valid Candidates
eid = int(answer["eid"].split("/")[1])
# As access is not restricted make sure the data appears valid
if (not isinstance(answer["cid"], int)) or (