Corrected deprecation comment

no issue

- Ghost 4.0 didn't contain any breaking changes. Breaks like this one will be introduced in 5.0
This commit is contained in:
Naz 2021-07-02 13:50:11 +04:00
parent 84c2154cbe
commit 607623211a

View File

@ -165,7 +165,7 @@ _private.ThemeErrorRenderer = (err, req, res, next) => {
// Format Data
const data = {
message: err.message,
// @deprecated Remove in Ghost 4.0
// @deprecated Remove in Ghost 5.0
code: err.statusCode,
statusCode: err.statusCode,
errorDetails: err.errorDetails || []