Update lib/screens/sign_up_screen/SignUpService.dart
This commit is contained in:
@@ -83,7 +83,6 @@ class SignUpApiService {
|
|||||||
Future<void> createuser(String token, Map<String, dynamic> entity) async {
|
Future<void> createuser(String token, Map<String, dynamic> entity) async {
|
||||||
try {
|
try {
|
||||||
print("in post api...$entity");
|
print("in post api...$entity");
|
||||||
dio.options.headers['Authorization'] = 'Bearer $token';
|
|
||||||
await dio.post('$baseUrl/token/addOneAppUser', data: entity);
|
await dio.post('$baseUrl/token/addOneAppUser', data: entity);
|
||||||
print(entity);
|
print(entity);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user