mirror of
https://github.com/pds-nest/nest.git
synced 2025-02-16 20:53:57 +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.
|
+ 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:
|
if not repository:
|
||||||
return json_error("Could not find repository"), 404
|
return json_error("Could not find repository"), 404
|
||||||
user = find_user(get_jwt_identity())
|
user = find_user(get_jwt_identity())
|
||||||
|
|
Loading…
Add table
Reference in a new issue