Closed chrismytton closed 9 years ago
When PUTing an update to a record the id field of each object in the images array should be cast to a mongo ObjectId if present.
Fixes https://github.com/mysociety/popit/issues/794
Looks fine.
I worry slightly if they include an ID that isn't actually an ObjectID thing but that was an issue previously too so probably not worth getting too fussed about.
When PUTing an update to a record the id field of each object in the images array should be cast to a mongo ObjectId if present.
Fixes https://github.com/mysociety/popit/issues/794