summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--israwhidebroken/controllers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/israwhidebroken/controllers.py b/israwhidebroken/controllers.py
index 8e666ca..6c2797b 100644
--- a/israwhidebroken/controllers.py
+++ b/israwhidebroken/controllers.py
@@ -74,7 +74,7 @@ class Root(controllers.RootController):
tr = TestResult(tree=to_int(treeid),
test=to_int(testid),
result=to_int(result),
- userid=identity.current.user_id,
+ userid=identity.current.user.id,
bug_id=None)
hub.commit() # XXX necessary?
return dict(id=tr.id)