0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Removed completed TODO:

refs: 4fa412c880

- this was done in the referenced commit
This commit is contained in:
Hannah Wolfe 2022-05-27 14:43:25 +01:00
parent 96ca5252ba
commit 17bb55118a
No known key found for this signature in database
GPG key ID: AB586C3B5AE5C037

View file

@ -57,9 +57,6 @@ function setResponseContext(req, res, data) {
}
}
// @TODO: remove first if condition when only page key is returned
// ref.: https://github.com/TryGhost/Ghost/issues/10042
// The first if is now used by the preview route
if (data && data.page) {
if (!res.locals.context.includes('page')) {
res.locals.context.push('page');