From 1ce1db62d6e2966c90923b50dcf45828011d64fe Mon Sep 17 00:00:00 2001 From: Lucas Hrabovsky Date: Mon, 28 Sep 2015 19:47:14 -0400 Subject: [PATCH] :bug: INT-652 serialize connection model when testing will remove knife to stab yourself w/ in client in next release --- src/models/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }