Skip to content

Removed undefined 'client' from emit call #1

Merged
merged 1 commit into from Jun 9, 2012
+1 −1
View
2 lib/query.js
@@ -92,7 +92,7 @@ var Query = function(sql, params, table) {
self.execute = function(callback) {
self.db.execute(self.sql, self.params, function(err,result) {
if(callback) { callback(err, result); }
- self.emit("executed",client);
+ self.emit("executed");
});
};
Something went wrong with that request. Please try again.