fix/add tests, update heatmap range, finish android release, add readme
Stop tracking gradle.properties
This commit is contained in:
@@ -97,11 +97,7 @@ export const processLesson = async (user, subjectId) => {
|
||||
if (!item) throw new Error('Item not found');
|
||||
|
||||
item.srsLevel = 1;
|
||||
|
||||
const nextReview = new Date();
|
||||
nextReview.setUTCHours(nextReview.getUTCHours() + 2);
|
||||
nextReview.setUTCMinutes(0, 0, 0);
|
||||
item.nextReview = nextReview;
|
||||
item.nextReview = getSRSDate(1);
|
||||
|
||||
await item.save();
|
||||
return { success: true, item };
|
||||
|
||||
Reference in New Issue
Block a user