From dbe69548d4be9a166663a582c405b55ba1fcdc89 Mon Sep 17 00:00:00 2001 From: "anders.tech" Date: Sun, 8 Oct 2023 21:33:18 -0700 Subject: [PATCH] Fixed issue with migrating compendiums --- system/src/migrations/MigrationRunnerSD.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/migrations/MigrationRunnerSD.mjs b/system/src/migrations/MigrationRunnerSD.mjs index 2c07c5ea..28ff7d14 100644 --- a/system/src/migrations/MigrationRunnerSD.mjs +++ b/system/src/migrations/MigrationRunnerSD.mjs @@ -79,7 +79,7 @@ export default class MigrationRunnerSD { // Begin by requesting service-side migration await pack.migrate(); - const documents = pack.getDocuments(); + const documents = await pack.getDocuments(); // Iterate over compendium entries - apply migration functions for (let doc of documents) {