Skip to content

Commit

Permalink
Update AddNewMember.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh12-99 authored Mar 27, 2024
1 parent 6532e21 commit 82d6e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/AddNewMember.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ import {

const { orgName, email, roles } = formFields;

const apiObj = new CreateMemberAPI(orgName, email, roles);
const apiObj = new CreateMemberAPI(orgName.title, email, roles);
dispatch(APITransport(apiObj));
};

Expand Down Expand Up @@ -257,4 +257,4 @@ import {
);
};

export default AddNewMember;
export default AddNewMember;

0 comments on commit 82d6e04

Please sign in to comment.