Skip to content

Commit

Permalink
fix url endpoint for job_show
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin-Sun-tts committed Jun 23, 2023
1 parent e1127fa commit c46c39d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion setup.py
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

version = '1.5.5'
version = '1.5.6'

setup(
name='ckanext-harvest',
Expand Down

0 comments on commit c46c39d

Please sign in to comment.