From 19d8afdfcdb816d1476e8f829f65a7204a70648f Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Wed, 11 Feb 2015 14:07:10 +0100 Subject: [PATCH] user id got from provisionned data --- ckanext/ozwillo_organization_api/plugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ckanext/ozwillo_organization_api/plugin.py b/ckanext/ozwillo_organization_api/plugin.py index 7678c56..b4a4381 100644 --- a/ckanext/ozwillo_organization_api/plugin.py +++ b/ckanext/ozwillo_organization_api/plugin.py @@ -60,6 +60,7 @@ def create_organization(context, data_dict): organization = data_dict['organization'] user = data_dict['user'] user_dict = { + 'id': user['id'], 'name': user['name'].lower().replace(' ', '').replace('.', ''), 'email': user['email_address'], 'password': user['id']