1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00

modificato parametro rid in id

This commit is contained in:
stefanogoldoni 2021-05-02 22:20:09 +02:00
parent c3d08f1eee
commit 16fe48e56b

View file

@ -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())