diff --git a/src/models/connection.js b/src/models/connection.js index 9fda9ec7b73..b7a70ca2551 100644 --- a/src/models/connection.js +++ b/src/models/connection.js @@ -24,7 +24,7 @@ module.exports = Connection.extend({ test: function(done) { var model = this; debug('Testing connection to `%j`...', this); - client.test(app.endpoint, this, function(err) { + client.test(app.endpoint, this.serialize(), function(err) { if (err) { return done(err); }