Skip to content

Commit 9c3b6c6

Browse files
committed
Merge branch 'feature/round-support' into development
2 parents 60dcb44 + a31147c commit 9c3b6c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/repository/question/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export const getQuestionSubmissions = (user, teamFilters, submissionFilters) =>
9393
{
9494
$match: {
9595
...prefixObjectKeys(teamFilters, 'user.'),
96-
role: 'GROUP'
96+
'user.role': 'GROUP'
9797
}
9898
}
9999
]

src/repository/submission.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const getTeamSubmissions = (filters = {}, userFilters = {}) => {
7272
{
7373
$match: {
7474
...prefixObjectKeys(userFilters, 'user.'),
75-
role: 'GROUP'
75+
'user.role': 'GROUP'
7676
}
7777
},
7878
{

0 commit comments

Comments
 (0)