Skip to content
Snippets Groups Projects
Commit c3157bf5 authored by anonymous's avatar anonymous
Browse files

change enpoint

parent 911e7cfb
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,7 @@ class OdshApiController(ApiController): ...@@ -145,7 +145,7 @@ class OdshApiController(ApiController):
def action(self, logic_function, ver=None): def action(self, logic_function, ver=None):
if logic_function == 'resource_qv4yAI2rgotamXGk98gJ': if logic_function == 'resource_qv4yAI2rgotamXGk98gJ':
return helpers.odsh_get_version_id() return helpers.odsh_get_version_id()
if logic_function == 'log_qv4yAI2rgotamXGk98gJ': if logic_function == 'resourcelog_qv4yAI2rgotamXGk98gJ':
if config.get('ckanext.odsh.enabletestendpoints', None) == 'True': if config.get('ckanext.odsh.enabletestendpoints', None) == 'True':
log.info('This is an info test log') log.info('This is an info test log')
log.warning('This is an warning test log') log.warning('This is an warning test log')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment