[ckan-changes] commit/ckan: John Glover: [logic] bug fix: change dict key from 'api' to 'apikey' in get_site_user action

Bitbucket commits-noreply at bitbucket.org
Wed Oct 19 13:01:10 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/028897b1e4b0/
changeset:   028897b1e4b0
branch:      feature-1371-task-status-logic-layer
user:        John Glover
date:        2011-10-19 15:01:01
summary:     [logic] bug fix: change dict key from 'api' to 'apikey' in get_site_user action
affected #:  1 file (-1 bytes)

--- a/ckan/logic/action/get.py	Wed Oct 19 11:16:27 2011 +0100
+++ b/ckan/logic/action/get.py	Wed Oct 19 14:01:01 2011 +0100
@@ -789,4 +789,4 @@
         model.Session.add(user)
         model.Session.commit()
     return {'name': user.name,
-            'api': user.apikey}
+            'apikey': user.apikey}

Repository URL: https://bitbucket.org/okfn/ckan/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list