diff --git a/ZeroLevel.SqLite/UserCacheRepository.cs b/ZeroLevel.SqLite/UserCacheRepository.cs index 55716b8..a1dd7a9 100644 --- a/ZeroLevel.SqLite/UserCacheRepository.cs +++ b/ZeroLevel.SqLite/UserCacheRepository.cs @@ -70,7 +70,7 @@ namespace ZeroLevel.SqLite var body = MessageSerializer.Serialize(data); if (update) { - Execute($"UPDATE {_tableName} SET key=@key, body=@body", _db, + Execute($"UPDATE {_tableName} SET body=@body WHERE key=@key", _db, new SQLiteParameter[] { new SQLiteParameter("key", key),