👕 Fix lint issue
This commit is contained in:
@@ -25,12 +25,12 @@ export async function postmarkApiRequest(this: IExecuteFunctions | IWebhookFunct
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'Accept': 'application/json',
|
||||
'X-Postmark-Server-Token' : credentials.serverToken
|
||||
'X-Postmark-Server-Token' : credentials.serverToken,
|
||||
},
|
||||
method,
|
||||
body,
|
||||
uri: 'https://api.postmarkapp.com' + endpoint,
|
||||
json: true
|
||||
json: true,
|
||||
};
|
||||
if (body === {}) {
|
||||
delete options.body;
|
||||
|
||||
@@ -169,26 +169,26 @@ export class PostmarkTrigger implements INodeType {
|
||||
Triggers: {
|
||||
Open:{
|
||||
Enabled: false,
|
||||
PostFirstOpenOnly: false
|
||||
PostFirstOpenOnly: false,
|
||||
},
|
||||
Click:{
|
||||
Enabled: false
|
||||
Enabled: false,
|
||||
},
|
||||
Delivery:{
|
||||
Enabled: false
|
||||
Enabled: false,
|
||||
},
|
||||
Bounce:{
|
||||
Enabled: false,
|
||||
IncludeContent: false
|
||||
IncludeContent: false,
|
||||
},
|
||||
SpamComplaint:{
|
||||
Enabled: false,
|
||||
IncludeContent: false
|
||||
IncludeContent: false,
|
||||
},
|
||||
SubscriptionChange: {
|
||||
Enabled: false
|
||||
}
|
||||
}
|
||||
Enabled: false,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
const events = this.getNodeParameter('events') as string[];
|
||||
@@ -255,7 +255,7 @@ export class PostmarkTrigger implements INodeType {
|
||||
const req = this.getRequestObject();
|
||||
return {
|
||||
workflowData: [
|
||||
this.helpers.returnJsonArray(req.body)
|
||||
this.helpers.returnJsonArray(req.body),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user