mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Added additional ghostErrorCode note for the major
refs: https://github.com/TryGhost/Toolbox/issues/316 - getting ready to do a major bump
This commit is contained in:
parent
470f7b14d0
commit
e4af12e5c0
1 changed files with 2 additions and 2 deletions
|
@ -129,8 +129,8 @@ const jsonErrorRendererV2 = (err, req, res, next) => { // eslint-disable-line no
|
|||
property: err.property || null,
|
||||
help: err.help || null,
|
||||
code: err.code || null,
|
||||
id: err.id || null,
|
||||
ghostErrorCode: err.ghostErrorCode || null
|
||||
id: err.id || null
|
||||
// @TODO: add ghostErrorCode here in a major (I thought V2 was for the V2 api, but it's actually the newer/correct handler)
|
||||
}]
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue