From b319a7cd65b382c90197c1523d552b05da0f08a0 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 10 Oct 2016 22:42:50 -0400 Subject: [PATCH] properly store user id --- app/pods/application/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pods/application/route.js b/app/pods/application/route.js index 5fceedc..eccf717 100644 --- a/app/pods/application/route.js +++ b/app/pods/application/route.js @@ -140,7 +140,7 @@ export default Ember.Route.extend(ApplicationRouteMixin, { this.fetchUser.bind(this) ).then((user) => { var useridKey = "http://tunapanda.org/xapi/extensions/userid"; - setIfUnset(statement_data.context.extensions, useridKey, user.get('userid')); + setIfUnset(statement_data.context.extensions, useridKey, user.get('id')); var regnameKey = "http://tunapanda.org/xapi/extensions/regname"; setIfUnset(statement_data.context.extensions, regnameKey, user.get('username')); setIfUnset(statement_data, "actor", {