Changed sender parameter to channel.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user