User Tools

Site Tools


custom-ember-data-the-easy-way

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
custom-ember-data-the-easy-way [2022/08/24 03:54]
sausage old revision restored (2022/08/23 02:23)
custom-ember-data-the-easy-way [2022/10/26 04:52] (current)
sausage Minor fix for find record serializer
Line 534: Line 534:
         const alteredPayload = {         const alteredPayload = {
             game: {             game: {
-                ​id: payload.gameId,​+                ​gameId: payload.gameId, ​// <- Set prop to gameId again. primaryKey will sort this out for us!
                 title: payload.title,​                 title: payload.title,​
                 year: payload.year                 year: payload.year
custom-ember-data-the-easy-way.txt ยท Last modified: 2022/10/26 04:52 by sausage