mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
Don’t pass entire job thru to notifications page
It only needs the `id`, and it only needs that to generate the download URL, so let’s just pass the URL through instead.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
{% if notifications and not help %}
|
||||
<p class="bottom-gutter">
|
||||
<a href="{{ url_for('.view_job_csv', service_id=current_service.id, job_id=job.id, status=status) }}" download="download" class="heading-small">Download this report</a>
|
||||
<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>
|
||||
 
|
||||
<span id="time-left">Available for 7 days</span>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user