Semi Final 7th Aug 2024

This commit is contained in:
2024-08-07 14:24:05 +09:00
parent 66ade1fe09
commit 347861e5a1
23 changed files with 342 additions and 160 deletions

View File

@ -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;
}