summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/PermissionModuleGrantRevoke.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/PermissionModuleGrantRevoke.vue')
-rw-r--r--webapp/src/components/PermissionModuleGrantRevoke.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/src/components/PermissionModuleGrantRevoke.vue b/webapp/src/components/PermissionModuleGrantRevoke.vue
index c999e1b..029a3f6 100644
--- a/webapp/src/components/PermissionModuleGrantRevoke.vue
+++ b/webapp/src/components/PermissionModuleGrantRevoke.vue
@@ -146,7 +146,7 @@ export default {
const filteredRoles = this.rolesSelected.map(x => x.id)
const filteredUsers = this.selectedUsers.map(x => x.id)
if (this.grant) {
- this.$http.post('/api/user/grantRoles', {
+ this.$http.post('/api/users/grantRoles', {
userIds: filteredUsers,
roleIds: filteredRoles
}).then(response => {
@@ -158,7 +158,7 @@ export default {
console.log(error)
})
} else {
- this.$http.post('/api/user/revokeRoles', {
+ this.$http.post('/api/users/revokeRoles', {
userIds: filteredUsers,
roleIds: filteredRoles
}).then(response => {