summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Caching
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Framework/Caching')
-rw-r--r--src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs b/src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs
index 2e7804a7..d6906866 100644
--- a/src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs
+++ b/src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs
@@ -88,7 +88,7 @@ namespace StardewModdingAPI.Web.Framework.Caching.Mods
this.Mods.ReplaceOne(
entry => entry.ID == id && entry.Site == mod.Site,
mod,
- new UpdateOptions { IsUpsert = true }
+ new ReplaceOptions { IsUpsert = true }
);
return mod;