Skip to content

Commit 3743423

Browse files
committed
Merge pull request #143 from 10gen/INT-652_fix-connection-test
🐛 INT-652 serialize connection model when testing
2 parents a235844 + 1ce1db6 commit 3743423

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)