Permalink
Browse files

Add JSON support

  • Loading branch information...
1 parent 8d9e45a commit 3a11cd80518b6818c050d4223063ed4548c39a2c @itay itay committed Apr 10, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/storm.js
View
@@ -78,6 +78,10 @@
delete params["project"];
}
+ if (utils.isObject(event)) {
+ event = JSON.stringify(event);
+ }
+
return this._super(event, params, callback);
}
});

0 comments on commit 3a11cd8

Please sign in to comment.