From 698b887cac15c28f819e6d6c541ea15f534bf6d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4ki?= Date: Tue, 22 Oct 2024 16:15:46 +0300 Subject: [PATCH] Fix method argument uninstallMod method was recently changed to accept ImmutableProfile instead of a profile, but this file wasn't included in the PR since I had stashed the file due to other simultaneous changes. --- src/components/views/DownloadModModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/DownloadModModal.vue b/src/components/views/DownloadModModal.vue index c3f638723..6b3c75396 100644 --- a/src/components/views/DownloadModModal.vue +++ b/src/components/views/DownloadModModal.vue @@ -408,7 +408,7 @@ let assignId = 0; const resolvedAuthorModNameString = `${manifestMod.getAuthorName()}-${manifestMod.getDisplayName()}`; const olderInstallOfMod = profileModList.find(value => `${value.getAuthorName()}-${value.getDisplayName()}` === resolvedAuthorModNameString); if (manifestMod.getName().toLowerCase() !== 'bbepis-bepinexpack') { - const result = await ProfileInstallerProvider.instance.uninstallMod(manifestMod, profile); + const result = await ProfileInstallerProvider.instance.uninstallMod(manifestMod, profile.asImmutableProfile()); if (result instanceof R2Error) { return reject(result); }