Skip to content

Commit

Permalink
fixes #158
Browse files Browse the repository at this point in the history
probably hotfix this in
  • Loading branch information
cubap committed Nov 15, 2024
1 parent bb0f107 commit ec92deb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions classes/Project/ProjectFactory.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,7 @@ export default class ProjectFactory {
in: {
$mergeObjects: [
'$$value',
{
$$this: { $arrayElemAt: ['$rolePermissions.$$this', 0] }
}
{ $arrayElemAt: ['$rolePermissions', { $indexOfArray: ['$rolePermissions', '$$this'] }] }
]
}
}
Expand Down

0 comments on commit ec92deb

Please sign in to comment.