Skip to content

Commit

Permalink
properly store user id
Browse files Browse the repository at this point in the history
  • Loading branch information
usernamenumber committed Oct 11, 2016
1 parent a478daf commit b319a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pods/application/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit b319a7c

Please sign in to comment.