Skip to content

Commit e1ed3b4

Browse files
authored
Merge pull request #1506 from ebkr/fix-argument
Fix method argument
2 parents abea4c3 + 698b887 commit e1ed3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/DownloadModModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ let assignId = 0;
408408
const resolvedAuthorModNameString = `${manifestMod.getAuthorName()}-${manifestMod.getDisplayName()}`;
409409
const olderInstallOfMod = profileModList.find(value => `${value.getAuthorName()}-${value.getDisplayName()}` === resolvedAuthorModNameString);
410410
if (manifestMod.getName().toLowerCase() !== 'bbepis-bepinexpack') {
411-
const result = await ProfileInstallerProvider.instance.uninstallMod(manifestMod, profile);
411+
const result = await ProfileInstallerProvider.instance.uninstallMod(manifestMod, profile.asImmutableProfile());
412412
if (result instanceof R2Error) {
413413
return reject(result);
414414
}

0 commit comments

Comments
 (0)