From 130598822918935721c011d72b2c6cae73180ae2 Mon Sep 17 00:00:00 2001 From: NT Shop Date: Mon, 29 May 2017 15:19:16 -0600 Subject: [PATCH] Update linodeius.js Adding the ability to pass parameters into linode API calls --- lib/linodeius.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linodeius.js b/lib/linodeius.js index 11c98e7..0b1b6f3 100644 --- a/lib/linodeius.js +++ b/lib/linodeius.js @@ -90,8 +90,8 @@ function Linode(options) { dest = dest[part]; }); - var methodFn = function() { - return api.call(self.apiKey, methodName); + var methodFn = function(args) { + return api.call(self.apiKey, methodName, args ); } self[methodName] = methodFn;