From f1ef479301cbcd724da2165a91b02b6174f3d0ea Mon Sep 17 00:00:00 2001 From: Neil Dorin Date: Fri, 8 May 2026 13:19:46 -0600 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- src/PepperDash.Core/WebApi/Presets/WebApiPasscodeClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PepperDash.Core/WebApi/Presets/WebApiPasscodeClient.cs b/src/PepperDash.Core/WebApi/Presets/WebApiPasscodeClient.cs index 68bbe362..125da1ec 100644 --- a/src/PepperDash.Core/WebApi/Presets/WebApiPasscodeClient.cs +++ b/src/PepperDash.Core/WebApi/Presets/WebApiPasscodeClient.cs @@ -171,14 +171,14 @@ namespace PepperDash.Core.WebApi.Presets J2SMaster.LoadWithJson(preset.Data); if (handler != null) - PresetReceived(this, new PresetReceivedEventArgs(preset, true)); + handler(this, new PresetReceivedEventArgs(preset, true)); } else // no existing preset { CurrentPreset = new Preset(); LoadDefaultPresetData(); if (handler != null) - PresetReceived(this, new PresetReceivedEventArgs(null, false)); + handler(this, new PresetReceivedEventArgs(null, false)); } } catch (HttpException e)