Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat(access): In AccessDomainRepositoryImpl implement deleteUser
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaBrighi committed May 4, 2023
1 parent dabf8a8 commit da5b302
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ class AccessDomainRepositoryImpl(
override fun logoutUser() =
accessLocalDataStorage.deleteUser()

override fun deleteUser() {
accessRemoteDataStorage.deleteUser(accessLocalDataStorage.getUser())
accessLocalDataStorage.deleteUser()
}

}

0 comments on commit da5b302

Please sign in to comment.