Fixed AutoSavedStore's deletion of data when table was using composite keys.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using HermesSocketServer.Messages;
|
||||
using HermesSocketServer.Models;
|
||||
using ILogger = Serilog.ILogger;
|
||||
|
||||
@@ -22,7 +23,7 @@ namespace HermesSocketServer.Requests
|
||||
int count = int.Parse(data["count"].ToString()!);
|
||||
int span = int.Parse(data["span"].ToString()!);
|
||||
|
||||
bool result = channel.Policies.Set(id.ToString(), new PolicyMessage()
|
||||
bool result = channel.Policies.Set(id.ToString(), new Policy()
|
||||
{
|
||||
Id = id,
|
||||
UserId = channel.Id,
|
||||
|
||||
Reference in New Issue
Block a user