Upgrade to support new version
This commit is contained in:
@@ -106,7 +106,7 @@ class RegistrationScreenState extends BaseState<RegistrationScreen> {
|
||||
|
||||
print(response.body);
|
||||
print(response.statusCode.toString());
|
||||
Map parsedMap = JSON.decode(response.body);
|
||||
Map parsedMap = json.decode(response.body);
|
||||
|
||||
if (response.statusCode == 201) {
|
||||
helper.createSession(merchantID, posID, parsedMap['token']).then((_) {
|
||||
|
||||
Reference in New Issue
Block a user