diff --git a/src/common/AddNewMember.jsx b/src/common/AddNewMember.jsx index 94a4194f..f1e8ec9b 100644 --- a/src/common/AddNewMember.jsx +++ b/src/common/AddNewMember.jsx @@ -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)); }; @@ -257,4 +257,4 @@ import { ); }; - export default AddNewMember; \ No newline at end of file + export default AddNewMember;