mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-18 01:10:14 +01:00
fix: add roleId parameter to grantPermission and update tests for GraphApiService
This commit is contained in:
parent
1016a33b89
commit
6bbefcd16e
3 changed files with 17 additions and 1 deletions
|
|
@ -85,6 +85,7 @@ const grantPermission = async ({
|
|||
role.permBits,
|
||||
grantedBy,
|
||||
session,
|
||||
role._id,
|
||||
);
|
||||
} catch (error) {
|
||||
logger.error(`[PermissionService.grantPermission] Error: ${error.message}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue