fix: removed useless attribute

This commit is contained in:
Denny09310
2025-11-09 13:49:21 +01:00
parent 71ced8db56
commit d8b0d0443d
3 changed files with 6 additions and 14 deletions

View File

@@ -104,7 +104,7 @@ namespace ElectronNET.API
BridgeConnector.Socket.On<JsonElement>("NotificationEventAction", (args) =>
{
var arguments = JsonSerializer.Deserialize<string[]>(args, Serialization.ElectronJson.Options);
_notificationOptions.Single(x => x.ReplyID == arguments[0]).OnAction(arguments[1]);
_notificationOptions.Single(x => x.ActionID == arguments[0]).OnAction(arguments[1]);
});
}