Skip to content

Commit

Permalink
Update webhook help
Browse files Browse the repository at this point in the history
  • Loading branch information
monkbroc committed Nov 8, 2017
1 parent b2f82b1 commit 73fb977
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions commands/WebhookCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ WebhookCommand.HookJsonTemplate = {
'deviceid': 'optionally filter by providing a device id',

'_': 'The following parameters are optional',
'mydevices': 'true/false',
'requestType': 'GET/POST/PUT/DELETE',
'form': null,
'json': null,
'body': null,
'headers': null,
'query': null,
'json': null,
'auth': null,
'responseTemplate': null,
'rejectUnauthorized': 'true/false'
Expand Down Expand Up @@ -160,7 +160,6 @@ WebhookCommand.prototype = extend(BaseCommand.prototype, {
url: url,
deviceid: deviceID,
requestType: requestType || data.requestType,
mydevices: data.mydevices === undefined ? true : data.mydevices
};

if (data) {
Expand Down

0 comments on commit 73fb977

Please sign in to comment.