Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
Fix link_name error in documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Wombat Hogg <rhogg@sugarcrm.com>
  • Loading branch information
rhoggSugarcrm authored and jcsmorais committed Sep 27, 2017
1 parent 7d25d1d commit e64d584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ let Contact = {
let cachedRecords = yield Fixtures.create([Account, Contact]);
console.log(cachedRecords); // Map containing one Account and one Contact

let response = yield Fixtures.link(cachedRecords.Accounts[0], 'accounts_contacts', cachedRecords.Contacts[0]);
let response = yield Fixtures.link(cachedRecords.Accounts[0], 'contacts', cachedRecords.Contacts[0]);
// Server response containing the Accounts record and a `related_records` property,
// which contains the Contacts record.
console.log(response);
Expand Down

0 comments on commit e64d584

Please sign in to comment.