Update package.json

This commit is contained in:
Felix
2016-08-10 00:34:30 +02:00
parent 9ff6d6e83c
commit 5728d47098
2 changed files with 5 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "POGOServer",
"version": "0.1.0",
"version": "0.2.0",
"description": "",
"repository": {
"type": "git",
@@ -17,8 +17,6 @@
"babel-cli": "^6.11.4",
"babel-preset-es2015": "^6.13.1",
"babel-preset-stage-0": "^6.5.0",
"body-parser": "^1.15.2",
"concat-stream": "^1.5.1",
"nodemon": "^1.7.1",
"protobufjs": "^5.0.1",
"mongodb": "^2.2.5",

View File

@@ -67,8 +67,8 @@ export function createUser(obj) {
email: obj.email,
position: obj.position,
exp: obj.exp,
stardust: 1337,
pokecoins: 1338,
stardust: obj.stardust,
pokecoins: obj.pokecoins,
avatar: obj.avatar,
contact_settings: obj.contact_settings
};
@@ -90,8 +90,8 @@ export function updateUser(obj) {
email: obj.email,
position: obj.position,
exp: obj.exp,
stardust: 1337,
pokecoins: 1338,
stardust: obj.stardust,
pokecoins: obj.pokecoins,
avatar: obj.avatar,
contact_settings: obj.contact_settings
};