organization delete uri computing takes in account the host

This commit is contained in:
Serghei Mihai 2015-02-06 11:09:14 +01:00
parent 270f763c79
commit c314bc5107
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ def create_organization(context, data_dict):
context['user'] = user_dict['name']
try:
delete_uri = toolkit.url_for(controller='api', action='action',
delete_uri = toolkit.url_for(host=request.host,
controller='api', action='action',
logic_function="delete-ozwillo-organization",
ver=context['api_version'],
qualified=True)