Skip to content

Commit dd10302

Browse files
committed
Fix user deletion
1 parent 384ac71 commit dd10302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: backend/src/views/Users/UsersTable.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function deleteUser(user) {
232232
if (!confirm(`Are you sure you want to delete the user?`)) {
233233
return
234234
}
235-
store.dispatch('deleteUser', user.id)
235+
store.dispatch('deleteUser', user)
236236
.then(res => {
237237
// TODO Show notification
238238
store.dispatch('getUsers')

0 commit comments

Comments
 (0)