Added viz hint if PES is part of reaction

This commit is contained in:
Tim Lorsbach
2026-06-19 09:32:34 +02:00
parent 297c87f4d9
commit 831496992c
6 changed files with 16 additions and 14 deletions

View File

@ -118,6 +118,9 @@ def fetch_pes(request, pes_url) -> dict:
from epauth.views import get_access_token_from_request
token = get_access_token_from_request(request)
if token is None:
token = pes_url.split('/')[-1] == 'dummy'
if token:
for k, v in s.PES_API_MAPPING.items():
if pes_url.startswith(k):