Permalink
Browse files

Support 'where' to be an object for query and search apis

  • Loading branch information...
1 parent e1d398c commit ef266ae1742dfe4ef62b5107ea4d49a2dcc77849 @BillWang BillWang committed Dec 18, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/util/utils.js
  2. +1 −1 package.json
View
@@ -59,7 +59,7 @@ exports.cleanInvalidData = function(data) {
if (data[prop] == null) {
delete data[prop];
}
- if (prop == 'custom_fields' || prop == 'fields') {
+ if (prop == 'custom_fields' || prop == 'fields' || prop == 'where') {
if (typeof data[prop] == 'object') {
try {
data[prop] = JSON.stringify(data[prop]);
View
@@ -5,7 +5,7 @@
"appcelerator",
"acs"
],
- "version": "0.1.5",
+ "version": "0.1.6",
"author": "Appcelerator, Inc. <info@appcelerator.com>",
"maintainers": [
],

0 comments on commit ef266ae

Please sign in to comment.