mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-05 22:34:25 +01:00
forwarded filter for PullPaymentDataId in GetPayoutInPeriod
This commit is contained in:
@@ -23,16 +23,16 @@ namespace BTCPayServer.Data
|
||||
var start = p.Start;
|
||||
if (p.End is DateTimeOffset end)
|
||||
{
|
||||
return payouts.Where(p => p.Date >= start && p.Date < end);
|
||||
return request.Where(p => p.Date >= start && p.Date < end);
|
||||
}
|
||||
else
|
||||
{
|
||||
return payouts.Where(p => p.Date >= start);
|
||||
return request.Where(p => p.Date >= start);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return payouts.Where(p => false);
|
||||
return request.Where(p => false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user