Refactor email endpoints

This commit is contained in:
nicolas.dorier
2025-02-27 16:50:32 +09:00
committed by rockstardev
parent 78f33f0ca4
commit be8ecb823e
10 changed files with 185 additions and 159 deletions

View File

@@ -977,7 +977,7 @@ namespace BTCPayServer.Controllers.Greenfield
{
return GetFromActionResult<EmailSettingsData>(
await GetController<GreenfieldStoreEmailController>().UpdateStoreEmailSettings(storeId,
JObject.FromObject(request).ToObject<EmailSettings>()));
JObject.FromObject(request).ToObject<EmailSettingsData>()));
}
public override async Task<ApplicationUserData[]> GetUsers(CancellationToken token = default)