diff --git a/src/models/governance/governance.model.js b/src/models/governance/governance.model.js index b51893db..7d9a1e78 100644 --- a/src/models/governance/governance.model.js +++ b/src/models/governance/governance.model.js @@ -52,7 +52,7 @@ class Governance extends Model { }); await Meta.upsert({ metaKey: 'mainGoveranceBodyId', - metaValue: governanceVersionId, + metaValue: goveranceBodyId, }); }; diff --git a/src/utils/defaultConfig.json b/src/utils/defaultConfig.json index e5bb1443..a65d897e 100644 --- a/src/utils/defaultConfig.json +++ b/src/utils/defaultConfig.json @@ -1,26 +1,26 @@ -{ - "MIRROR_DB": { - "DB_USERNAME": null, - "DB_PASSWORD": null, - "DB_NAME": null, - "DB_HOST": null - }, - "APP": { - "CW_PORT": 31310, - "DATALAYER_URL": "https://localhost:8562", - "WALLET_URL": "https://localhost:9256", - "USE_SIMULATOR": false, - "READ_ONLY": false, - "API_KEY": null, - "CHIA_NETWORK": "mainnet", - "IS_GOVERNANCE_BODY": false - }, - "TESTNET": { - "TESTNET_DEFAULT_ORGANIZATIONS": "https://climate-warehouse.s3.us-west-2.amazonaws.com/public/cw-organizations-testnet.json" - }, - "GOVERNANCE": { - "GOVERANCE_BODY_ID": "8790c347e96eda4266fa5805a16b4baeecf8018433995782555a7b6883fdd868", - "GOVERNANCE_BODY_IP": "35.82.228.204", - "GOVERNANCE_BODY_PORT": 8000 - } -} +{ + "MIRROR_DB": { + "DB_USERNAME": null, + "DB_PASSWORD": null, + "DB_NAME": null, + "DB_HOST": null + }, + "APP": { + "CW_PORT": 31310, + "DATALAYER_URL": "https://localhost:8562", + "WALLET_URL": "https://localhost:9256", + "USE_SIMULATOR": false, + "READ_ONLY": false, + "API_KEY": null, + "CHIA_NETWORK": "mainnet", + "IS_GOVERNANCE_BODY": false + }, + "TESTNET": { + "TESTNET_DEFAULT_ORGANIZATIONS": "https://climate-warehouse.s3.us-west-2.amazonaws.com/public/cw-organizations-testnet.json" + }, + "GOVERNANCE": { + "GOVERANCE_BODY_ID": "70b015ba441293ccaee59470eaa5ef3eadf74dae99eb19b788c7df53bca03270", + "GOVERNANCE_BODY_IP": "35.82.228.204", + "GOVERNANCE_BODY_PORT": 8000 + } +}