Skip to content

Commit 38cc5b8

Browse files
committed
Use a method for account deletion
1 parent cd8cd1e commit 38cc5b8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/requests/delete-account-confirm-request.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ class DeleteAccountConfirmRequest extends AuthRequest {
135135

136136
debug('Delete account for user:', user.webId)
137137

138-
return this.userStore.findUser(user.id)
139-
.then(userStoreEntry => {
140-
// TODO: @kjetilk delete the user here
141-
})
138+
return this.userStore.deleteUser(user.id)
142139
}
143140

144141
/**

0 commit comments

Comments
 (0)