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", {