Skip to content

Commit

Permalink
fix: encryption migration script typo (#1004)
Browse files Browse the repository at this point in the history
  • Loading branch information
lautarodragan authored Sep 25, 2019
1 parent c9d6a3d commit 4e87408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/migrate-encryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function migratePrivateKeys() {
const reencryptedApiTokens = apiTokens.map(encryptApiToken)
const reencryptedTestApiTokens = testApiTokens.map(encryptApiToken)
await accountCollection.updateOne({ _id }, { $set: {
privateKey: encryptedPrivateKey,
privateKey: reencryptedPrivateKey,
apiTokens: reencryptedApiTokens,
testApiTokens: reencryptedTestApiTokens,
}})
Expand Down

0 comments on commit 4e87408

Please sign in to comment.