diff --git a/code/backend/nest_backend/routes/repository/repository_conditions.py b/code/backend/nest_backend/routes/repository/repository_conditions.py index 1cd48b5..d8d09f8 100644 --- a/code/backend/nest_backend/routes/repository/repository_conditions.py +++ b/code/backend/nest_backend/routes/repository/repository_conditions.py @@ -15,7 +15,7 @@ def page_repository_conditions(rid): + POST: type, content -> Adds a condition and returns it. """ - repository = Repository.query.filter_by(rid=rid).first() + repository = Repository.query.filter_by(id=rid).first() if not repository: return json_error("Could not find repository"), 404 user = find_user(get_jwt_identity())