Get subscription status correctly for showing upgrade/bonus link

This commit is contained in:
James Allen 2014-10-27 15:00:46 +00:00
parent 2a69e185ce
commit ca664e0063

View file

@ -147,7 +147,7 @@ module.exports = ProjectController =
projects: projects
tags: tags
user: user
hasSubscription: results.hasSubscription
hasSubscription: results.hasSubscription[0]
}
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?