From 328e1b4ff81ac3beb5688bed60717b049f7aa671 Mon Sep 17 00:00:00 2001 From: Rajasegar Chandran Date: Tue, 5 Mar 2019 09:31:11 +0530 Subject: [PATCH] [DOCS] [BUGFIX] Added attributes wrapper object 1. Added attributes wrapper object around username when pushing userRef --- addon/-private/system/references/record.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addon/-private/system/references/record.ts b/addon/-private/system/references/record.ts index 51b599825db..db2f6ba176d 100644 --- a/addon/-private/system/references/record.ts +++ b/addon/-private/system/references/record.ts @@ -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;