summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/PermissionModuleGrantRevoke.vue
diff options
context:
space:
mode:
authorChristian Hofmaier2018-08-05 02:02:15 +0200
committerChristian Hofmaier2018-08-05 02:02:15 +0200
commitde1b08baefd08b9b805638a23ea4826a38812f53 (patch)
tree327601263287ae310c8f8d7f28cef3361ce51e65 /webapp/src/components/PermissionModuleGrantRevoke.vue
parentmerge (diff)
downloadbas-de1b08baefd08b9b805638a23ea4826a38812f53.tar.gz
bas-de1b08baefd08b9b805638a23ea4826a38812f53.tar.xz
bas-de1b08baefd08b9b805638a23ea4826a38812f53.zip
code adaption
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 => {