PES Adjustments, Check is User is in enviPath Entra Group
Some checks failed
CI / test (pull_request) Failing after 28s
API CI / api-tests (pull_request) Failing after 42s

This commit is contained in:
Tim Lorsbach
2026-08-20 08:59:24 +02:00
parent 0033513d99
commit 67aa3731cb
4 changed files with 96 additions and 40 deletions

View File

@ -889,7 +889,7 @@ def create_package_compound(
from bayer.models import PESCompound
try:
pes_data = fetch_pes(request, c.pesLink)
pes_data = fetch_pes(request, c.pesLink, request.user)
except ValueError as e:
return 400, {"message": f"Could not fetch PES data for {c.pesLink}"}
@ -2014,7 +2014,7 @@ def add_pathway_node(request, package_uuid, pathway_uuid, n: Form[CreateNode]):
from bayer.models import PESCompound
try:
pes_data = fetch_pes(request, n.pesLink)
pes_data = fetch_pes(request, n.pesLink, request.user)
except ValueError as e:
return 400, {"message": f"Could not fetch PES data for {n.pesLink}"}