mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-17 03:08:51 +00:00
remove logs
This commit is contained in:
parent
db4bec37e3
commit
982069df36
2 changed files with 0 additions and 5 deletions
|
|
@ -660,7 +660,6 @@ export const GALA_SCHEDULE = {
|
|||
};
|
||||
|
||||
export function assembleScheduledMatchers (date) {
|
||||
console.log('Assembling new Schedule!');
|
||||
const items = [];
|
||||
const month = date instanceof moment ? date.month() : date.getMonth();
|
||||
const todayDay = date instanceof moment ? date.date() : date.getDate();
|
||||
|
|
@ -696,11 +695,8 @@ export function getScheduleMatchingGroup (type, date) {
|
|||
items: [],
|
||||
match (key) {
|
||||
if (this.items.length > 0 && !inListMatcher(this.items)(key)) {
|
||||
console.log(this.items);
|
||||
console.log(key, 'not in list');
|
||||
return false;
|
||||
}
|
||||
console.log(this.matchers.every(m => m(key)));
|
||||
return this.matchers.every(m => m(key));
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ export default async function purchase (user, req = {}, analytics) {
|
|||
}
|
||||
} else if (item.event && item.event.gear) {
|
||||
const matchers = getScheduleMatchingGroup('seasonalGear');
|
||||
console.log(matchers);
|
||||
if (!matchers.match(item.set)) {
|
||||
throw new NotAuthorized(i18n.t('messageNotAvailable', req.language));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue