Update Saqel Platform: 2026-09-08 17:51:07

This commit is contained in:
Hamza-Ayed
2026-09-08 17:51:07 +03:00
parent 902cf00152
commit 75451ebc3f
12 changed files with 84 additions and 39 deletions
@@ -56,7 +56,7 @@ class TeacherRepository {
'phone_number': phoneNumber,
'role': 'teacher',
}),
).timeout(const Duration(seconds: 6));
).timeout(const Duration(seconds: 30));
return json.decode(response.body);
} catch (e) {
@@ -78,7 +78,7 @@ class TeacherRepository {
if (fullName != null) 'full_name': fullName,
'device_fingerprint': 'saqel_teacher_flutter',
}),
).timeout(const Duration(seconds: 6));
).timeout(const Duration(seconds: 30));
final decoded = json.decode(response.body);
if (decoded['status'] == 'success' && decoded['data']?['token'] != null) {