Closed ndeet closed 1 year ago
The "Generate API Key" was always shown even if the BTCPay URL was empty. Because the getBtcPayServerBaseUrl() never returned null but / if there was no URL set (due to the rtrim line).
getBtcPayServerBaseUrl()
/
Good find. Thanks!
The "Generate API Key" was always shown even if the BTCPay URL was empty. Because the
getBtcPayServerBaseUrl()
never returned null but/
if there was no URL set (due to the rtrim line).