Removed obsolete comment about api keys not being supported (#10622)

no issue

I noticed an outdated comment in the codebase ([confirmed by Kevin](https://forum.ghost.org/t/code-comment-says-we-dont-support-admin-api-keys-yet-is-this-true/6344/4?u=grant)). This PR removes it.
This commit is contained in:
Grant 2019-03-19 15:05:37 -04:00 committed by Katharina Irrgang
parent eacd9d6e08
commit 51151e9e9e
1 changed files with 0 additions and 6 deletions

View File

@ -66,12 +66,6 @@ const authorize = {
}));
},
/**
* @NOTE:
*
* We don't support admin api keys yet, but we can already use this authorization helper, because
* we have not connected authenticating with admin api keys yet. `req.api_key` will be always null.
*/
authorizeAdminApi(req, res, next) {
const hasUser = req.user && req.user.id;
const hasApiKey = req.api_key && req.api_key.id;