Skip to content

Commit

Permalink
Refactor ActivityRepo to use "applications" instead of "applicants" f…
Browse files Browse the repository at this point in the history
…or clarity and consistency
  • Loading branch information
FelipeCarillo committed May 10, 2024
1 parent 7b51b12 commit c303a9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class ActivityRepo implements IActivityRepo {
];

if (applicants) {
include.push({ model: ActivityApplication, as: 'applicants', include: [{ model: UserDB, as: 'user' }] });
include.push({ model: ActivityApplication, as: 'applications', include: [{ model: UserDB, as: 'user' }] });
}

const activity = await ActivityDB.findOne({
Expand Down

0 comments on commit c303a9f

Please sign in to comment.