diff --git a/Dockerfile-Production b/Dockerfile-Production index fe7c994fa3..38fe0c209f 100644 --- a/Dockerfile-Production +++ b/Dockerfile-Production @@ -6,7 +6,7 @@ RUN npm install -g gulp grunt-cli bower mocha # Clone Habitica repo and install dependencies RUN mkdir -p /usr/src/habitrpg WORKDIR /usr/src/habitrpg -RUN git clone --branch v3.115.0 https://github.com/HabitRPG/habitica.git /usr/src/habitrpg +RUN git clone --branch v3.116.1 https://github.com/HabitRPG/habitica.git /usr/src/habitrpg RUN npm install RUN bower install --allow-root RUN gulp build:prod --force diff --git a/website/server/models/user/hooks.js b/website/server/models/user/hooks.js index fa22e5f998..a3c464ccf7 100644 --- a/website/server/models/user/hooks.js +++ b/website/server/models/user/hooks.js @@ -33,7 +33,7 @@ function findTag (user, tagName) { function _populateDefaultTasks (user, taskTypes) { let defaultsData; if (user.registeredThrough === 'habitica-android' || user.registeredThrough === 'habitica-ios') { - defaultsData = shared.content.userDefaultsMobile; + return; } else { defaultsData = shared.content.userDefaults; }