summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-16 11:33:17 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-16 11:33:17 -0400
commitc776f6053bd0b9db909ebda2853a86c1cd21c2cf (patch)
treedafd5cf1e478e49f9acf5a04f83612b613125f89 /src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs
parenta090b6c21c877e8835f25e1d70d667abf07d1d3c (diff)
downloadSMAPI-c776f6053bd0b9db909ebda2853a86c1cd21c2cf.tar.gz
SMAPI-c776f6053bd0b9db909ebda2853a86c1cd21c2cf.tar.bz2
SMAPI-c776f6053bd0b9db909ebda2853a86c1cd21c2cf.zip
update deprecated code
Diffstat (limited to 'src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs')
-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;