mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +03:00
ae88dc8548
fix https://linear.app/tryghost/issue/SLO-85/fix-http-500-on-contentposts - in the event we give the incorrect format in a filter, MySQL will throw an error and we'll throw a HTTP 500 error - we can capture this error and return a more useful error to the user - ideally we'd do this in a validation step before attempting the query, but parsing this out of NQL and detecting which columns are DATETIME could be quite tricky |
||
---|---|---|
.. | ||
__snapshots__ | ||
authors.test.js | ||
collections.test.js | ||
key_authentication.test.js | ||
newsletters.test.js | ||
offers.test.js | ||
pages.test.js | ||
posts.test.js | ||
recommendations.test.js | ||
settings.test.js | ||
tags.test.js | ||
tiers.test.js | ||
utils.js |