mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-26 00:58:50 +00:00
paynym api debug logs
This commit is contained in:
parent
8af4c407e6
commit
0711bd03cf
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:stackwallet/models/paynym/created_paynym.dart';
|
||||
import 'package:stackwallet/models/paynym/paynym_account.dart';
|
||||
|
@ -25,7 +26,8 @@ class PaynymAPI {
|
|||
body: jsonEncode(body),
|
||||
);
|
||||
|
||||
// print("response code: ${response.statusCode}");
|
||||
debugPrint("Paynym response code: ${response.statusCode}");
|
||||
debugPrint("Paynym response body: ${response.body}");
|
||||
|
||||
return jsonDecode(response.body) as Map<String, dynamic>;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue