allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [06/12] allura git commit: [#8092] Fixed rest api failing for users
Date Tue, 12 Jul 2016 14:04:31 GMT
[#8092] Fixed rest api failing for users


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/4192e2d6
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/4192e2d6
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/4192e2d6

Branch: refs/heads/db/3593
Commit: 4192e2d623fa05746bb84fbb60957e19522d8f09
Parents: 2dac879
Author: Rohan Verma <rohanverma2004@gmail.com>
Authored: Tue Jun 21 22:52:02 2016 +0530
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Mon Jul 11 11:08:51 2016 -0400

----------------------------------------------------------------------
 ForgeActivity/forgeactivity/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/4192e2d6/ForgeActivity/forgeactivity/main.py
----------------------------------------------------------------------
diff --git a/ForgeActivity/forgeactivity/main.py b/ForgeActivity/forgeactivity/main.py
index 6049fd0..6875d8b 100644
--- a/ForgeActivity/forgeactivity/main.py
+++ b/ForgeActivity/forgeactivity/main.py
@@ -224,7 +224,7 @@ class ForgeActivityRestController(BaseController, AppRestControllerMixin):
         return {
             'following': data['following'],
             'followee': {
-                'activity_name': data['followee'].shortname,
+                'activity_name': data['followee'].activity_name,
                 'activity_url': data['followee'].url(),
                 'activity_extras': {},
             },


Mime
View raw message