mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
f6dd851ffb
fixes #3013 - bubble promise rejection on post model validation/save error so that it doesn't bubble as resolved - prefer `.catch()` for promise handlers as per recommendations - check if `.save()` is being called from model.destroyRecord() and forgo validation if so - normalize output for both `.validate()` and `.save()` |
||
---|---|---|
.. | ||
post.js |