diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-16 11:33:17 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2020-05-16 11:33:17 -0400 |
commit | c776f6053bd0b9db909ebda2853a86c1cd21c2cf (patch) | |
tree | dafd5cf1e478e49f9acf5a04f83612b613125f89 /src/SMAPI.Web/Framework/Caching | |
parent | a090b6c21c877e8835f25e1d70d667abf07d1d3c (diff) | |
download | SMAPI-c776f6053bd0b9db909ebda2853a86c1cd21c2cf.tar.gz SMAPI-c776f6053bd0b9db909ebda2853a86c1cd21c2cf.tar.bz2 SMAPI-c776f6053bd0b9db909ebda2853a86c1cd21c2cf.zip |
update deprecated code
Diffstat (limited to 'src/SMAPI.Web/Framework/Caching')
-rw-r--r-- | src/SMAPI.Web/Framework/Caching/Mods/ModCacheRepository.cs | 2 |
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; |