changed api-key to read-only-api-key for angolia

This commit is contained in:
Henry Oswald 2014-07-16 16:37:58 +01:00
parent 55eb15baba
commit f4b0dec1b8

View file

@ -145,7 +145,7 @@ module.exports = ProjectController =
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?
viewModel.showUserDetailsArea = true
viewModel.algolia_api_key = Settings.algolia.api_key
viewModel.algolia_api_key = Settings.algolia.read_only_api_key
viewModel.algolia_app_id = Settings.algolia.app_id
else
viewModel.showUserDetailsArea = false