Merge pull request #534 from GSA/bug-url-endpoint

fix url endpoint for job_show
This commit is contained in:
seitenbau-govdata 2023-06-26 09:19:50 +02:00 committed by GitHub
commit b6cb58d778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,7 @@ def get_mail_extra_vars(context, source_id, status):
errors = job_errors + obj_errors
site_url = config.get('ckan.site_url')
job_url = toolkit.url_for('harvest.job_show', source=source['id'], id=last_job['id'])
job_url = toolkit.url_for('harvester.job_show', source=source['id'], id=last_job['id'])
full_job_url = urljoin(site_url, job_url)
extra_vars = {
'organization': organization,