mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
workaround tight coupling of crowdfund to apps mechanics
This commit is contained in:
@@ -53,7 +53,11 @@ namespace BTCPayServer.Services.Apps
|
||||
public async Task<object> GetAppInfo(string appId)
|
||||
{
|
||||
var app = await GetApp(appId, AppType.Crowdfund, true);
|
||||
return await GetInfo(app);
|
||||
if (app != null)
|
||||
{
|
||||
return await GetInfo(app);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
private async Task<ViewCrowdfundViewModel> GetInfo(AppData appData, string statusMessage = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user