From c3157bf5a2b5de29cbb0615b6fbb18c7abbe42d6 Mon Sep 17 00:00:00 2001 From: anonymous <anonymous> Date: Thu, 13 Jun 2019 10:38:17 +0200 Subject: [PATCH] change enpoint --- ckanext/odsh/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/odsh/controller.py b/ckanext/odsh/controller.py index 17df592b..77076573 100644 --- a/ckanext/odsh/controller.py +++ b/ckanext/odsh/controller.py @@ -145,7 +145,7 @@ class OdshApiController(ApiController): def action(self, logic_function, ver=None): if logic_function == 'resource_qv4yAI2rgotamXGk98gJ': return helpers.odsh_get_version_id() - if logic_function == 'log_qv4yAI2rgotamXGk98gJ': + if logic_function == 'resourcelog_qv4yAI2rgotamXGk98gJ': if config.get('ckanext.odsh.enabletestendpoints', None) == 'True': log.info('This is an info test log') log.warning('This is an warning test log') -- GitLab