Fix migration of compendiums
This commit is contained in:
parent
343a888b68
commit
5d249d4c10
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,6 @@ async function migrateCompendium(compendium: Compendium) {
|
|||
const wasLocked = compendium.locked;
|
||||
await compendium.configure({ locked: false });
|
||||
|
||||
await compendium.migrate({});
|
||||
const content = await compendium.getContent();
|
||||
|
||||
for (const entity of content) {
|
||||
|
@ -133,5 +132,6 @@ async function migrateCompendium(compendium: Compendium) {
|
|||
}
|
||||
}
|
||||
|
||||
await compendium.migrate({});
|
||||
await compendium.configure({ locked: wasLocked });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue