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:
parent
c3d08f1eee
commit
16fe48e56b
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue