[faucet] polish code and UX - Move Twitter login component into FOSS

This commit is contained in:
nymkappa
2024-05-17 20:32:43 +02:00
parent 0279fe69d4
commit 6b16b2d651
8 changed files with 158 additions and 124 deletions

View File

@@ -161,7 +161,7 @@ export class ServicesApiServices {
}
getFaucetStatus$() {
return this.httpClient.get<{ address?: string, access: boolean, min: number, user_max: number, user_requests: number }>(`${SERVICES_API_PREFIX}/testnet4/faucet/status`, { responseType: 'json' });
return this.httpClient.get<{ address?: string, min: number, max: number }>(`${SERVICES_API_PREFIX}/testnet4/faucet/status`, { responseType: 'json' });
}
requestTestnet4Coins$(address: string, sats: number) {