From 15972e79128da16d0cc00cc42266b4f01f22a3dd Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 21 Feb 2019 13:02:48 +0100 Subject: [PATCH] Add key to edit participant --- src/schema/mutations/EditParticipant.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/schema/mutations/EditParticipant.js b/src/schema/mutations/EditParticipant.js index 063108750..c225600c7 100644 --- a/src/schema/mutations/EditParticipant.js +++ b/src/schema/mutations/EditParticipant.js @@ -18,7 +18,7 @@ const args = { }; const resolve = (parent, - { eventId: _id, participant: { participantId, botId } }, + { eventId: _id, participant: { keyId, participantId, botId } }, { userId, authorization }) => { if (!userId) { throw new AuthentificationError(); @@ -78,7 +78,10 @@ const resolve = (parent, resumeExecution: false runAsTeam: true teamId: "${participantId}" - processName: "${event.title}-${participantId}" + processName: "Trading-Process" + keyId: "${keyId}" + beginDatetime: "${event.startDatetime}" + endDatetime: "${event.endDatetime}" } ) { id