Semi Final 7th Aug 2024
This commit is contained in:
@ -164,9 +164,10 @@ class AuthService {
|
||||
},
|
||||
body: jsonEncode(<String, String>{'email': email, 'password': password, 'password2': password2}),
|
||||
);
|
||||
//print(response.body);
|
||||
cats = json.decode(utf8.decode(response.bodyBytes));
|
||||
print("result=$cats");
|
||||
if (response.statusCode == 201) {
|
||||
cats = json.decode(utf8.decode(response.bodyBytes));
|
||||
}else{
|
||||
}
|
||||
return cats;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user