mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
fixes #5177 - we now pass API/model options directly to toJSON, which is unsafe as these options haven't always been filtered before they are passed. - this fix adds a filter so that toJSON only uses the options it needs - additionally, rename the 'name' option to something more specific to prevent clashes |
||
---|---|---|
.. | ||
client | ||
server | ||
shared | ||
test | ||
index.js |