Fix return type of webhooks get so that plugins can use it

This commit is contained in:
Kukks
2022-05-03 11:15:08 +02:00
parent 6f80100ee6
commit 662f269a94

View File

@@ -43,7 +43,7 @@ namespace BTCPayServer.Controllers.Greenfield
{
return Ok((await StoreRepository.GetWebhooks(CurrentStoreId))
.Select(o => FromModel(o, false))
.ToList());
.ToArray());
}
else
{