mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 07:47:55 +00:00
add delete account UI and logic
This commit is contained in:
@@ -83,4 +83,11 @@ class AuthenticationAPI {
|
||||
);
|
||||
return response;
|
||||
}
|
||||
|
||||
static Future<void> deleteAccount() async {
|
||||
await HTTPService().delete(
|
||||
path: ApiEndpoints.deleteProfile,
|
||||
expectedResponseModel: (p0) {},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user