👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2020-10-22 15:46:03 +02:00
parent 5b7efd67ca
commit 40c2acd77b
491 changed files with 4045 additions and 3936 deletions

View File

@@ -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;