mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 14:22:44 +01:00
Faucet arguments as query params
This commit is contained in:
parent
987def9baa
commit
e8dbd777d0
1 changed files with 1 additions and 1 deletions
|
@ -165,6 +165,6 @@ export class ServicesApiServices {
|
|||
}
|
||||
|
||||
requestTestnet4Coins$(address: string, sats: number) {
|
||||
return this.httpClient.get<{txid: string}>(`${SERVICES_API_PREFIX}/testnet4/faucet/request/${address}?sats=${sats}`, { responseType: 'json' });
|
||||
return this.httpClient.get<{txid: string}>(`${SERVICES_API_PREFIX}/testnet4/faucet/request?address=${address}&sats=${sats}`, { responseType: 'json' });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue