diff --git a/docs/dev_environment.md b/docs/dev_environment.md --- a/docs/dev_environment.md +++ b/docs/dev_environment.md @@ -556,16 +556,10 @@ ``` cd server -vim secrets/olm_config.json +yarn script dist/scripts/generate-olm-config.json ``` -The Olm config file should look like this: - -```json -{ - "privateKey": "privateKey" -} -``` +This script will create the `server/secrets/olm_config.json` config file. ## Phabricator diff --git a/server/src/utils/olm-utils.js b/server/src/utils/olm-utils.js --- a/server/src/utils/olm-utils.js +++ b/server/src/utils/olm-utils.js @@ -3,7 +3,8 @@ import olmConfig from '../../secrets/olm_config'; type OlmConfig = { - +privateKey: string, + +picklingKey: string, + +pickledAccount: string, }; function getOlmConfig(): OlmConfig {