2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Added a TODO for members access code

- Need to rethink how & where we apply this
- Want to make sure I find this again later :D
This commit is contained in:
Hannah Wolfe 2020-04-30 07:09:19 +01:00
parent 81bf1667fa
commit 822fda59cb

View file

@ -84,6 +84,7 @@ module.exports = function entryController(req, res, next) {
} }
// CASE: Add access property to entry for v3+ api // CASE: Add access property to entry for v3+ api
// @TODO: reconsider the location of this - it's part of members
if (res.locals.apiVersion !== 'v0.1' && res.locals.apiVersion !== 'v2') { if (res.locals.apiVersion !== 'v0.1' && res.locals.apiVersion !== 'v2') {
entry.access = !!entry.html; entry.access = !!entry.html;
} }