This shows you the differences between two versions of the page.
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 |