From da52ad84eb2159ad18e4078a137d86d0ee2f250a Mon Sep 17 00:00:00 2001 From: Jatin Mehta Date: Wed, 21 Sep 2022 22:00:24 +0530 Subject: [PATCH] fix(admin-ui): fix get roles --- admin-ui/plugins/admin/redux/api/RoleApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-ui/plugins/admin/redux/api/RoleApi.js b/admin-ui/plugins/admin/redux/api/RoleApi.js index 4774ad322..b6428693f 100644 --- a/admin-ui/plugins/admin/redux/api/RoleApi.js +++ b/admin-ui/plugins/admin/redux/api/RoleApi.js @@ -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) }) })