zapier on ticket create

This commit is contained in:
Frédéric FRANCE
2020-10-30 21:09:39 +01:00
parent 24ace56110
commit e0184f66d3

View File

@@ -45,12 +45,15 @@ const getTicket = (z, bundle) => {
// test poll) and also a .querystring property with the URL's query string. // test poll) and also a .querystring property with the URL's query string.
const ticket = { const ticket = {
id: bundle.cleanedRequest.id, id: bundle.cleanedRequest.id,
track_id: bundle.cleanedRequest.track_id,
subject: bundle.cleanedRequest.subject,
message: bundle.cleanedRequest.message,
lastname: bundle.cleanedRequest.lastname, lastname: bundle.cleanedRequest.lastname,
firstname: bundle.cleanedRequest.firstname, firstname: bundle.cleanedRequest.firstname,
address: bundle.cleanedRequest.address, address: bundle.cleanedRequest.address,
zip: bundle.cleanedRequest.zip, zip: bundle.cleanedRequest.zip,
town: bundle.cleanedRequest.town, town: bundle.cleanedRequest.town,
email: bundle.cleanedRequest.email, email_from: bundle.cleanedRequest.email_from,
login: bundle.cleanedRequest.login, login: bundle.cleanedRequest.login,
authorId: bundle.cleanedRequest.authorId, authorId: bundle.cleanedRequest.authorId,
createdAt: bundle.cleanedRequest.createdAt, createdAt: bundle.cleanedRequest.createdAt,