Skip to content

Commit

Permalink
Fix typo host/uri
Browse files Browse the repository at this point in the history
  • Loading branch information
DanBUK committed Feb 1, 2011
1 parent d9a85f4 commit c30e7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodester.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var sys = require('sys');

var headers = {'Content-Type': 'application/x-www-form-urlencoded'};
var nodester = function (username, password, basehost) {
if (typeof baseurl != 'undefined') this.basehost = basehost;
if (typeof basehost != 'undefined') this.basehost = basehost;
else this.basehost = 'api.nodester.com';
this.username = username;
this.password = password;
Expand Down

0 comments on commit c30e7d8

Please sign in to comment.