Update Saqel Platform: 2026-09-08 17:51:07
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user