Commit ca813707 authored by Yogi's avatar Yogi
Browse files

replace: to targetId

parent 5f53cd98
Pipeline #388544749 passed with stages
in 3 minutes and 50 seconds
......@@ -76,7 +76,8 @@ const CommitType: React.FC = () => {
input: {
body: url,
type: 'COMMIT',
productId: selectedTarget.targetId
targetId: selectedTarget.targetId,
targetType: selectedTarget.targetType
}
}
})
......
......@@ -109,7 +109,8 @@ const PollType: React.FC = () => {
body,
polls: JSON.stringify(polls) as string,
type: 'POLL',
productId: selectedTarget.targetId
targetId: selectedTarget.targetId,
targetType: selectedTarget.targetType
}
}
})
......
......@@ -75,7 +75,8 @@ const PostType: React.FC = () => {
type: 'POST',
attachments:
attachments.length > 0 ? JSON.stringify(attachments) : null,
productId: selectedTarget.targetId
targetId: selectedTarget.targetId,
targetType: selectedTarget.targetType
}
}
})
......
......@@ -88,7 +88,8 @@ const QuestionType: React.FC = () => {
type: 'QUESTION',
attachments:
attachments.length > 0 ? JSON.stringify(attachments) : null,
productId: selectedTarget.targetId
targetId: selectedTarget.targetId,
targetType: selectedTarget.targetType
}
}
})
......
......@@ -78,7 +78,8 @@ const TaskType: React.FC = () => {
type: 'TASK',
attachments:
attachments.length > 0 ? JSON.stringify(attachments) : null,
productId: selectedTarget.targetId
targetId: selectedTarget.targetId,
targetType: selectedTarget.targetType
}
}
})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment