Skip to content

Commit

Permalink
Fix connect function
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Nov 27, 2013
1 parent 68226ba commit 379cf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Database.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Database.prototype.connect = function (cb) {

"use strict";

if (this.connection) return cb(null, this.connection);
if (this.connection) return cb(null, this);

var $ = this;

Expand Down

0 comments on commit 379cf08

Please sign in to comment.