Skip to content

Commit

Permalink
fix(admin-ui): fix get roles
Browse files Browse the repository at this point in the history
  • Loading branch information
mjatin-dev committed Sep 21, 2022
1 parent 4820508 commit da52ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin-ui/plugins/admin/redux/api/RoleApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class RoleApi {
}
getRoles = () => {
return new Promise((resolve, reject) => {
this.api.getAdminuiRole('adminUIRoles', (error, data) => {
this.api.getAllAdminuiRoles((error, data) => {
handleResponse(error, reject, resolve, data)
})
})
Expand Down

0 comments on commit da52ad8

Please sign in to comment.