mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Fix search for macaroon
This commit is contained in:
parent
3f6ff25322
commit
47ef7661d8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ namespace BTCPayServer.Controllers
|
|||
Macaroons macaroons = new Macaroons();
|
||||
if (!Directory.Exists(directoryPath))
|
||||
return macaroons;
|
||||
foreach(var file in Directory.GetFiles("*.macaroon"))
|
||||
foreach(var file in Directory.GetFiles(directoryPath, "*.macaroon"))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue