Update UserCacheRepository.cs

pull/1/head
Ogoun 5 years ago
parent 410dae1b85
commit be67fa1340

@ -70,7 +70,7 @@ namespace ZeroLevel.SqLite
var body = MessageSerializer.Serialize(data); var body = MessageSerializer.Serialize(data);
if (update) 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[]
{ {
new SQLiteParameter("key", key), new SQLiteParameter("key", key),

Loading…
Cancel
Save

Powered by TurnKey Linux.