diff --git a/backend/src/views/Users/UsersTable.vue b/backend/src/views/Users/UsersTable.vue index 8e9ec75..5e8ea01 100644 --- a/backend/src/views/Users/UsersTable.vue +++ b/backend/src/views/Users/UsersTable.vue @@ -232,7 +232,7 @@ function deleteUser(user) { if (!confirm(`Are you sure you want to delete the user?`)) { return } - store.dispatch('deleteUser', user.id) + store.dispatch('deleteUser', user) .then(res => { // TODO Show notification store.dispatch('getUsers')