feat: add filtering by ServiceName and Key in email templates query and UI
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ internal sealed class GetAllEmailTemplatesHandler
|
||||
protected override async Task<ServiceResult<IReadOnlyList<EmailTemplate>>> DoOnHandle(
|
||||
GetAllEmailTemplatesQuery request, CancellationToken cancellationToken)
|
||||
{
|
||||
var templates = await _templates.GetAllAsync(cancellationToken);
|
||||
var templates = await _templates.GetAllAsync(request.ServiceName, request.Key, cancellationToken);
|
||||
return Success(templates);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user