Commit 97bd0127 authored by Aaron Tidwell's avatar Aaron Tidwell

defualt to json

parent 25d56f43
...@@ -19,6 +19,9 @@ var Client = exports.Client = function(options) { ...@@ -19,6 +19,9 @@ var Client = exports.Client = function(options) {
if (!this.options.massageProperties) { if (!this.options.massageProperties) {
this.options.massageProperties = true; this.options.massageProperties = true;
} }
if (!this.options.format) {
this.options.format = 'json';
}
this.setSubdomain(this.options.subdomain); this.setSubdomain(this.options.subdomain);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment