Skip to content

Commit 1ce1db6

Browse files
committed
🐛 INT-652 serialize connection model when testing
will remove knife to stab yourself w/ in client in next release
1 parent a235844 commit 1ce1db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = Connection.extend({
2424
test: function(done) {
2525
var model = this;
2626
debug('Testing connection to `%j`...', this);
27-
client.test(app.endpoint, this, function(err) {
27+
client.test(app.endpoint, this.serialize(), function(err) {
2828
if (err) {
2929
return done(err);
3030
}

0 commit comments

Comments
 (0)