Fix(bugs):
Can't logout ui display when user doesn't has device
This commit is contained in:
@@ -69,7 +69,7 @@ class APIServices {
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () async {
|
||||
var url = Uri.http(ApplicationConstants.DOMAIN,
|
||||
var url = Uri.https(ApplicationConstants.DOMAIN,
|
||||
APIPathConstants.LOGOUT_PATH);
|
||||
final headers = await NetworkManager.instance!.getHeaders();
|
||||
final response = await http.post(url, headers: headers);
|
||||
|
||||
Reference in New Issue
Block a user