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

Commit a8b2e9b

Browse files
committed
fix(role-intake): use roleIds instead of roles in req. payload
1 parent 8b139d3 commit a8b2e9b

File tree

1 file changed

+1
-1
lines changed
  • src/routes/CreateNewTeam/pages/SelectRole

1 file changed

+1
-1
lines changed

src/routes/CreateNewTeam/pages/SelectRole/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function SelectRole({ projectId }) {
5151
projectId,
5252
title: `job-${Date()}`,
5353
skills: [],
54-
roles: addedRoles.map((r) => r.id),
54+
roleIds: addedRoles.map((r) => r.id),
5555
numPositions: 1,
5656
})
5757
.then(() => {

0 commit comments

Comments
 (0)