mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05: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:
parent
81bf1667fa
commit
822fda59cb
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ module.exports = function entryController(req, res, next) {
|
|||
}
|
||||
|
||||
// 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') {
|
||||
entry.access = !!entry.html;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue