Skip to content

Commit

Permalink
Aftral[premieroctet#90] removed status filter
Browse files Browse the repository at this point in the history
  • Loading branch information
SeghirOumo committed Aug 9, 2024
1 parent a8e03ff commit ee7aff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/web/server/plugins/aftral-lms/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getTraineeResources = async (userId, params, data) => {
const sequences = await getRelatedDocuments(Sequence, sequenceIds)

const resourceIds = getIdsFromChildren(sequences)
const resources = await Resource.find({ _id: { $in: resourceIds }, achievement_status: BLOCK_STATUS_CURRENT })
const resources = await Resource.find({ _id: { $in: resourceIds } })
return resources
}

Expand Down

0 comments on commit ee7aff6

Please sign in to comment.