mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 01:40:03 +01:00
fix(server): updated ln markets to v1 api (#305)
This commit is contained in:
parent
5a212db898
commit
ecb0e1cf49
@ -109,7 +109,9 @@ export const getLnMarketsAuth = async (
|
||||
|
||||
// Get a new lnUrl from LnMarkets
|
||||
try {
|
||||
const response = await fetchWithProxy(`${appUrls.lnMarkets}/lnurl/a/c`);
|
||||
const response = await fetchWithProxy(`${appUrls.lnMarkets}/lnurl/auth`, {
|
||||
method: 'post',
|
||||
});
|
||||
const json = await response.json();
|
||||
|
||||
logger.debug('Get lnUrl from LnMarkets response: %o', json);
|
||||
|
@ -12,7 +12,7 @@ export const appUrls = {
|
||||
ticker: 'https://blockchain.info/ticker',
|
||||
github: 'https://api.github.com/repos/apotdevin/thunderhub/releases/latest',
|
||||
update: 'https://github.com/apotdevin/thunderhub#updating',
|
||||
lnMarkets: 'https://api.lnmarkets.com',
|
||||
lnMarkets: 'https://api.lnmarkets.com/v1',
|
||||
lnMarketsExchange: 'https://lnmarkets.com',
|
||||
boltz: 'https://boltz.exchange/api',
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user