Project

General

Profile

« Previous | Next » 

Revision 458a2c0b

Added by Serghei Mihai over 9 years ago

instantiation secret config key renamed.
requests typo fix

View differences:

ckanext/ozwillo_organization_api/plugin.py
17 17

  
18 18
    signature_header_name = config.get(plugin_config_prefix + 'signature_header_name',
19 19
                                       'X-Hub-Signature')
20
    instantiated_secret = config.get(plugin_config_prefix + 'instantiated_secret',
20
    instantiated_secret = config.get(plugin_config_prefix + 'instantiation_secret',
21 21
                                     'secret')
22 22

  
23 23
    def wrapper(context, data):
......
83 83
                      auth=(client_id, client_secret)
84 84
                  )
85 85
    except:
86
        request.delete(registration_uri)
86
        requests.delete(registration_uri)
87 87

  
88 88

  
89 89
@valid_signature_required

Also available in: Unified diff