Skip to content

Commit a5130a3

Browse files
committed
ensure code example uses correct method
1 parent a805b5a commit a5130a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/v3.1.0/models/pushing-records-into-the-store.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default Route.extend({
138138
method: 'POST',
139139
url: 'process-payment'
140140
}).then((digitalInventory) => {
141-
this.get('store').pushPayload(digitalInventory);
141+
this.get('store').push(digitalInventory);
142142
this.transitionTo('thank-you');
143143
});
144144
}

0 commit comments

Comments
 (0)