Migration: Ensure that groupId lookup is kept up to date

This commit is contained in:
Scott Nonnenberg 2020-11-20 11:50:45 -08:00 committed by Josh Perez
parent 2c69f2c367
commit 4bf5a24efb
2 changed files with 3 additions and 3 deletions

View file

@ -904,7 +904,7 @@ export async function initiateMigrationToGroupV2(
`initiateMigrationToGroupV2/${logId}: After members migration, we are not a member!`
);
}
if (!areWeInvited) {
if (areWeInvited) {
throw new Error(
`initiateMigrationToGroupV2/${logId}: After members migration, we are invited!`
);