Skip to content

Commit

Permalink
Merge pull request #22 from near-daos/fix/proposal-vote-migration
Browse files Browse the repository at this point in the history
fix(proposal vote migration): fixed proposal vote status migration
  • Loading branch information
vhorin-mp authored Dec 1, 2021
2 parents fcbf06d + 1e59c2f commit ab9c254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/migrations/src/scripts/proposal-vote.migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class ProposalVoteMigration implements Migration {
...proposal,
votePeriodEnd,
voteStatus:
votePeriodEnd < currentTimestamp
votePeriodEnd > currentTimestamp
? ProposalVoteStatus.Active
: ProposalVoteStatus.Expired,
};
Expand Down

0 comments on commit ab9c254

Please sign in to comment.