mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 06:20:43 +00:00
changed api-key to read-only-api-key for angolia
This commit is contained in:
parent
55eb15baba
commit
f4b0dec1b8
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ module.exports = ProjectController =
|
||||||
|
|
||||||
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?
|
if Settings?.algolia?.app_id? and Settings?.algolia?.read_only_api_key?
|
||||||
viewModel.showUserDetailsArea = true
|
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
|
viewModel.algolia_app_id = Settings.algolia.app_id
|
||||||
else
|
else
|
||||||
viewModel.showUserDetailsArea = false
|
viewModel.showUserDetailsArea = false
|
||||||
|
|
Loading…
Reference in a new issue