Skip to content

Commit

Permalink
Merge pull request #534 from GSA/bug-url-endpoint
Browse files Browse the repository at this point in the history
fix url endpoint for job_show
  • Loading branch information
seitenbau-govdata committed Jun 26, 2023
2 parents e1127fa + 0f57dc0 commit b6cb58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/harvest/logic/action/update.py
Expand Up @@ -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,
Expand Down

0 comments on commit b6cb58d

Please sign in to comment.