Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 50c61a0

Browse files
authored
Merge pull request #487 from cagdas001/dev
feat(create-new-team): post `intakeSource` in `createTeam` req.
2 parents 0b3ad3e + daa5946 commit 50c61a0

File tree

1 file changed

+4
-5
lines changed
  • src/routes/CreateNewTeam/components/SubmitContainer

1 file changed

+4
-5
lines changed

src/routes/CreateNewTeam/components/SubmitContainer/index.jsx

+4-5
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,10 @@ function SubmitContainer({
8989
};
9090

9191
const assembleTeam = (formData) => {
92-
const teamObject = _.pick(formData, [
93-
"teamName",
94-
"teamDescription",
95-
"refCode",
96-
]);
92+
const teamObject = {
93+
intakeSource: "taasAppIntake",
94+
..._.pick(formData, ["teamName", "teamDescription", "refCode"]),
95+
};
9796

9897
const positions = [];
9998
for (let key of Object.keys(formData)) {

0 commit comments

Comments
 (0)