mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
use _buildUri in quote
This commit is contained in:
parent
e2ec733211
commit
f87acdc721
1 changed files with 1 additions and 2 deletions
|
@ -180,8 +180,7 @@ class SimplexAPI {
|
|||
if (userID != null) {
|
||||
data['USER_ID'] = userID;
|
||||
}
|
||||
Uri url = Uri.https('simplex-sandbox.stackwallet.com', 'api.php', data);
|
||||
// TODO update to stackwallet.com hosted API and use HTTPS
|
||||
Uri url = _buildUri('api.php', data);
|
||||
|
||||
var res = await http.get(url, headers: headers);
|
||||
if (res.statusCode != 200) {
|
||||
|
|
Loading…
Reference in a new issue