Skip to content

Commit

Permalink
added linkedin to app
Browse files Browse the repository at this point in the history
  • Loading branch information
pm3512 committed Dec 31, 2023
1 parent 74600e7 commit 5f3f392
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/_types/Profile.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export interface IProfile extends Document {
resume?: string;
profilePicture?: string;
github: string;
linkedin?: string;
design?: string;
website?: string;
essays?: string[];
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/ProfileController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const submitProfile = async (
return bad(res, `Display name ${displayName} is taken!`);
}

console.log('upserting', profileArgs)
console.log("upserting", profileArgs);
await Profile.findOneAndUpdate(
{ user: user._id, event: tartanhacks._id },
{
Expand Down
1 change: 1 addition & 0 deletions src/models/Profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const Profile: Schema<IProfile> = new Schema(
major: String,
courses: Array<String>,
programmingLanguages: Array<String>,
linkedin: String,
otherSkills: Array<String>,
hackathonExperience: {
type: String,
Expand Down
2 changes: 2 additions & 0 deletions src/routes/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ router.get("/team", isAuthenticated, asyncCatch(getOwnTeam));
* github:
* type: string
* required: true
* linkedin:
* type: string
* design:
* type: string
* website:
Expand Down

0 comments on commit 5f3f392

Please sign in to comment.