Skip to content

Commit

Permalink
Fixing object manipulation bug and bumping to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yasserf committed Jul 13, 2016
1 parent d2893b0 commit c23a5b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
env:
global:
- CXX=g++-4.8
- MONGODB_CONNECTION_STRING=mongodb://52.59.253.77
- MONGODB_CONNECTION_STRING=mongodb://54.93.147.100

# Do not insert any code under here without making sures it's in publishingtest first
language: node_js
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
environment:
MONGODB_CONNECTION_STRING: mongodb://52.59.253.77
MONGODB_CONNECTION_STRING: mongodb://54.93.147.100

# Do not insert any code under here without making sures it's in publishingtest first
os:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deepstream.io-storage-mongodb",
"version": "1.0.0",
"version": "1.0.1",
"description": "A template that can be forked to create new cache and storage connectors for deepstream.io",
"main": "src/connector.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/transform-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @returns {Object} data
*/
module.exports.transformValueForStorage = function ( value ) {
value = JSON.parse( JSON.stringify( value ) )
var data = value._d
delete value._d
data.__ds = value
Expand Down

0 comments on commit c23a5b8

Please sign in to comment.