Changed sender parameter to channel.

This commit is contained in:
Tom
2024-12-27 23:31:36 +00:00
parent 06bfe110bb
commit 8277ea0154
27 changed files with 113 additions and 134 deletions

View File

@@ -1,3 +1,5 @@
using HermesSocketServer.Models;
namespace HermesSocketServer.Requests
{
public interface IRequest
@@ -5,6 +7,6 @@ namespace HermesSocketServer.Requests
string Name { get; }
string[] RequiredKeys { get; }
Task<RequestResult> Grant(string sender, IDictionary<string, object>? data);
Task<RequestResult> Grant(Channel channel, IDictionary<string, object>? data);
}
}