diff --git a/lib/nodester.js b/lib/nodester.js index e55c51b..d9696ee 100644 --- a/lib/nodester.js +++ b/lib/nodester.js @@ -70,7 +70,7 @@ Nodester.prototype.user_create = function(user, pass, email, rsakey, coupon, cb) { var postData, rsadata; - rsadata = fs.readFileSync(rsadata); + rsadata = fs.readFileSync(rsakey); return cb({ message: !rsadata ? "No RSA key found in " + rsakey : void 0 });