Skip to content

Commit

Permalink
fix: per ora non serviva unwind, basta lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
aziis98 committed Oct 27, 2023
1 parent 87df175 commit f81be84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/public/courses.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const EventPhdCourse = require('../../models/EventPhdCourse')

async function coursesQuery(req) {
const pipeline = [
{$unwind: '$lessons'},
// {$unwind: '$lessons'},
{$lookup: {
from: 'conferencerooms',
localField: 'lessons.conferenceRoom',
Expand Down

0 comments on commit f81be84

Please sign in to comment.