Skip to content

Commit

Permalink
refactor: Include partner institutions in get_all_activities_catalog …
Browse files Browse the repository at this point in the history
…response
  • Loading branch information
FelipeCarillo committed May 24, 2024
1 parent 75cf320 commit 8b96159
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export class ActivityRepo implements IActivityRepo {

async get_all_activities_catalog(): Promise<{ title: string; logo: string; type_activity: ActivityTypeEnum; }[]> {
const response = await ActivityDB.findAll({
attributes: ["title", "type_id"],
attributes: ["title", "type_id", "partner_institutions"],
include: [{
model: ActivityPartnerInstitution, as: 'partner_institutions', include:
[{
Expand Down

0 comments on commit 8b96159

Please sign in to comment.