diff --git a/apps/web-api/src/members/members.service.ts b/apps/web-api/src/members/members.service.ts index 3ba78f195..d8029dd59 100644 --- a/apps/web-api/src/members/members.service.ts +++ b/apps/web-api/src/members/members.service.ts @@ -65,7 +65,7 @@ export class MembersService { }, }, }, - experience: true + experience: {include: {companyLogo : true}} }, }); } @@ -446,8 +446,8 @@ export class MembersService { { where: { uid: uid }, select: { - email: true, - githubHandler: true, + email: true, + githubHandler: true, telegramHandler:true, discordHandler: true, linkedinHandler: true, @@ -458,9 +458,9 @@ export class MembersService { ); const preferences = {...resp.preferences}; if (!resp.preferences) { - preferences.isnull = true; + preferences.isnull = true; } else{ - preferences.isnull = false; + preferences.isnull = false; } preferences.email = resp?.email ? true: false; preferences.github = resp?.githubHandler ? true: false; @@ -475,7 +475,7 @@ export class MembersService { const user = await this.memberToUserInfo(member); if (user.leadingTeams.includes(teamUid)) { return true; - } + } return false; } diff --git a/apps/web-app/components/members/member-enrollment/add-member-experience-form.tsx b/apps/web-app/components/members/member-enrollment/add-member-experience-form.tsx index 8a1e8a1c3..617a97266 100644 --- a/apps/web-app/components/members/member-enrollment/add-member-experience-form.tsx +++ b/apps/web-app/components/members/member-enrollment/add-member-experience-form.tsx @@ -80,7 +80,6 @@ function AddMemberExperienceForm(props) { }, }; - console.log("calling api") const imageResponse = await api.post(`/v1/images`, formData, config); const result = imageResponse.data.image; onItemChange(expIndex, 'logoUid', result.uid); @@ -146,7 +145,7 @@ function AddMemberExperienceForm(props) { }
{exp.title}