We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3e45c commit 8658195Copy full SHA for 8658195
packages/db/src/study/SessionController.ts
@@ -252,9 +252,9 @@ export class SessionController extends Loggable {
252
this.log(report);
253
}
254
255
- private async getNewCards(n: number = 10, filter?: (c: string) => boolean) {
+ private async getNewCards(n: number = 10) {
256
const perCourse = Math.ceil(n / this.sources.length);
257
- const newContent = await Promise.all(this.sources.map((c) => c.getNewCards(perCourse, filter)));
+ const newContent = await Promise.all(this.sources.map((c) => c.getNewCards(perCourse)));
258
259
// [ ] is this a noop?
260
newContent.forEach((newContentFromSource) => {
0 commit comments