Fixed AutoSavedStore's deletion of data when table was using composite keys.
This commit is contained in:
@@ -5,7 +5,7 @@ using HermesSocketServer.Validators;
|
||||
|
||||
namespace HermesSocketServer.Store
|
||||
{
|
||||
public class VoiceStateStore : AutoSavedStore<string, TTSVoiceState>
|
||||
public class VoiceStateStore : ComplexAutoSavedStore<string, TTSVoiceState>
|
||||
{
|
||||
private readonly string _userId;
|
||||
private readonly VoiceIdValidator _idValidator;
|
||||
@@ -48,7 +48,7 @@ namespace HermesSocketServer.Store
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnInitialRemove(string key)
|
||||
protected override void OnPostRemove(string key, TTSVoiceState value)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user