@sfutureapps/db-sdk 0.3.31 → 0.3.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/query-builder.js +2 -2
package/package.json
CHANGED
package/src/query-builder.js
CHANGED
|
@@ -200,7 +200,7 @@ export class QueryBuilder {
|
|
|
200
200
|
}
|
|
201
201
|
return post({
|
|
202
202
|
endpoint: "v3/api/update",
|
|
203
|
-
data: { table: this.tableName, values, filters: this._filters }
|
|
203
|
+
data: { table: this.tableName, values, filters: JSON.stringify(this._filters) }
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
|
|
@@ -210,7 +210,7 @@ export class QueryBuilder {
|
|
|
210
210
|
}
|
|
211
211
|
return post({
|
|
212
212
|
endpoint: "v3/api/delete",
|
|
213
|
-
data: { table: this.tableName, filters: this._filters }
|
|
213
|
+
data: { table: this.tableName, filters: JSON.stringify(this._filters) }
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
}
|