Skip to content

Commit

Permalink
[DOCS] [BUGFIX] Added attributes wrapper object
Browse files Browse the repository at this point in the history
1. Added attributes wrapper object around username
when pushing userRef
  • Loading branch information
rajasegar authored and runspired committed Mar 5, 2019
1 parent 2858c32 commit 328e1b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/-private/system/references/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export default class RecordReference extends Reference {
data: {
id: "1",
type: "user",
username: "@user"
attributes: {
username: "@user"
}
}
}).then(function(user) {
userRef.value() === user;
Expand Down

0 comments on commit 328e1b4

Please sign in to comment.