Fix createuser function signature - remove unused token parameter

This commit is contained in:
risnaman
2026-09-16 17:59:51 +05:30
parent 7e70460766
commit 61db3a4583
2 changed files with 2 additions and 3 deletions
File diff suppressed because one or more lines are too long
@@ -79,8 +79,7 @@ class SignUpApiService {
throw Exception('Failed to Verify Otp: $e'); throw Exception('Failed to Verify Otp: $e');
} }
} }
Future<void> createuser(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");
await dio.post('$baseUrl/token/addOneAppUser', data: entity); await dio.post('$baseUrl/token/addOneAppUser', data: entity);