diff --git a/test/api/v3/integration/hall/GET-hall_heroes_heroId.test.js b/test/api/v3/integration/hall/GET-hall_heroes_heroId.test.js index c83e4cbaf1..6d02f1a2a4 100644 --- a/test/api/v3/integration/hall/GET-hall_heroes_heroId.test.js +++ b/test/api/v3/integration/hall/GET-hall_heroes_heroId.test.js @@ -10,6 +10,7 @@ describe('GET /heroes/:heroId', () => { const heroFields = [ '_id', 'id', 'auth', 'balance', 'contributor', 'flags', 'items', 'lastCron', 'party', 'preferences', 'profile', 'purchased', 'secret', 'achievements', + 'stats', ]; before(async () => { diff --git a/test/api/v3/integration/hall/PUT-hall_heores_heroId.test.js b/test/api/v3/integration/hall/PUT-hall_heores_heroId.test.js index 2c27536a61..f5911803e2 100644 --- a/test/api/v3/integration/hall/PUT-hall_heores_heroId.test.js +++ b/test/api/v3/integration/hall/PUT-hall_heores_heroId.test.js @@ -11,6 +11,7 @@ describe('PUT /heroes/:heroId', () => { const heroFields = [ '_id', 'auth', 'balance', 'contributor', 'flags', 'items', 'lastCron', 'party', 'preferences', 'profile', 'purchased', 'secret', 'permissions', 'achievements', + 'stats', ]; before(async () => { diff --git a/website/client/src/components/admin-panel/user-support/stats.vue b/website/client/src/components/admin-panel/user-support/stats.vue index 6a654dd5d6..bbffe00ae9 100644 --- a/website/client/src/components/admin-panel/user-support/stats.vue +++ b/website/client/src/components/admin-panel/user-support/stats.vue @@ -174,7 +174,6 @@ export default { computed: { ...mapState({ user: 'user.data' }), statPointsIncorrect () { - console.log(this.hero.stats.points, this.hero.stats.str, this.hero.stats.int, this.hero.stats.per, this.hero.stats.con, this.hero.stats.lvl); return (parseInt(this.hero.stats.points, 10) diff --git a/website/server/models/user/hooks.js b/website/server/models/user/hooks.js index 237104b3f6..3fd58fd492 100644 --- a/website/server/models/user/hooks.js +++ b/website/server/models/user/hooks.js @@ -368,7 +368,6 @@ schema.pre('save', true, async function preSaveUser (next, done) { const history = UserHistory(); history.userId = this._id; await history.save(); - console.log('Initialized user history'); } }