@@ -107,11 +107,11 @@ function CreatePeoplePageContent({
|
|||||||
|
|
||||||
const handleSubmit = (e: React.FormEvent) => {
|
const handleSubmit = (e: React.FormEvent) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const connecttionId = ConnectionHandler.getConnectionID(data.currentOrganization.id, "PeopleListPageQuery_peoples");
|
const peopleConnectionId = ConnectionHandler.getConnectionID(data.currentOrganization.id, "PeopleListPageQuery_peoples");
|
||||||
|
|
||||||
createPeople({
|
createPeople({
|
||||||
variables: {
|
variables: {
|
||||||
connections: [connecttionId],
|
connections: [peopleConnectionId],
|
||||||
input: {
|
input: {
|
||||||
organizationId: data.currentOrganization.id,
|
organizationId: data.currentOrganization.id,
|
||||||
fullName: formData.fullName,
|
fullName: formData.fullName,
|
||||||
|
|||||||
Reference in New Issue
Block a user