From 84065db61c84b66ad3bc1f1a12e2b50c844d59a8 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sat, 23 Jul 2022 19:27:46 -0400 Subject: [PATCH] Update Redis.OM to 0.2.1 --- ProjectLighthouse/ProjectLighthouse.csproj | 2 +- ProjectLighthouse/StorableLists/RedisStorableList.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ProjectLighthouse/ProjectLighthouse.csproj b/ProjectLighthouse/ProjectLighthouse.csproj index cb151679..39d794fd 100644 --- a/ProjectLighthouse/ProjectLighthouse.csproj +++ b/ProjectLighthouse/ProjectLighthouse.csproj @@ -21,7 +21,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/ProjectLighthouse/StorableLists/RedisStorableList.cs b/ProjectLighthouse/StorableLists/RedisStorableList.cs index c6938f28..31ccb0db 100644 --- a/ProjectLighthouse/StorableLists/RedisStorableList.cs +++ b/ProjectLighthouse/StorableLists/RedisStorableList.cs @@ -17,15 +17,15 @@ public class RedisStorableList : StorableList this.redisNormalCollection.Insert(item); } - public override Task RemoveAsync(T item) => this.redisNormalCollection.Delete(item); + public override Task RemoveAsync(T item) => this.redisNormalCollection.DeleteAsync(item); public override void Remove(T item) { - this.redisNormalCollection.DeleteSync(item); + this.redisNormalCollection.Delete(item); } - public override Task UpdateAsync(T item) => this.redisNormalCollection.Update(item); + public override Task UpdateAsync(T item) => this.redisNormalCollection.UpdateAsync(item); public override void Update(T item) { - this.redisNormalCollection.UpdateSync(item); + this.redisNormalCollection.Update(item); } } \ No newline at end of file