mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Fix: Payments to Top-Up could be undetected due to race condition (#5568)
This commit is contained in:
@@ -79,13 +79,13 @@ namespace BTCPayServer.Services.Apps
|
||||
|
||||
public async Task<object?> GetInfo(string appId)
|
||||
{
|
||||
var appData = await GetApp(appId, null);
|
||||
var appData = await GetApp(appId, null, includeStore: true);
|
||||
if (appData is null)
|
||||
return null;
|
||||
var appType = GetAppType(appData.AppType);
|
||||
if (appType is null)
|
||||
return null;
|
||||
return appType.GetInfo(appData);
|
||||
return await appType.GetInfo(appData);
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<ItemStats>> GetItemStats(AppData appData)
|
||||
|
||||
Reference in New Issue
Block a user