Skip to content

Commit

Permalink
Merge pull request #8237 from dannyzaken/danny-fixes
Browse files Browse the repository at this point in the history
Fixed upgrade script assign_owner_id_to_all_resources.js
  • Loading branch information
dannyzaken authored Jul 29, 2024
2 parents daa46cd + af655d8 commit 147bc7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config = require('../../../../config');
async function run({ dbg, system_store }) {

try {
const operator_account = system_store.accounts.find(account => account.email.unwrap() === config.OPERATOR_ACCOUNT_EMAIL);
const operator_account = system_store.data.accounts.find(account => account.email.unwrap() === config.OPERATOR_ACCOUNT_EMAIL);
const operator_account_id = operator_account._id;
dbg.log0('Assigning account ID ', operator_account_id, ' as owner_id to all pools and resources');
const updated_pools = system_store.data.pools
Expand Down

0 comments on commit 147bc7e

Please sign in to comment.