fix setting handler

This commit is contained in:
2024-11-08 07:37:41 +01:00
parent 2e420ad902
commit 9482e64fd9

View File

@@ -4,7 +4,7 @@ public class ApiAuthCheckEventArgs(string authKey, Delegate? handler) : EventArg
{ {
private bool hasDenyed; private bool hasDenyed;
public Delegate? Handler { get; } public Delegate? Handler { get; } = handler;
public string AuthKey { get; } = authKey; public string AuthKey { get; } = authKey;