Skip to content

Commit 615658c

Browse files
Yiindoug-martin
authored andcommitted
docs() Fix typo in the code example
1 parent 28b02c7 commit 615658c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/persistence/sequelize/custom-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class TodoItemService extends SequelizeQueryService<TodoItemEntity> {
1717
}
1818

1919
async markAllAsCompleted(): Promise<number> {
20-
const entities = await this.query({ filter: { completed: { is: true } } });
20+
const entities = await this.query({ filter: { completed: { is: false } } });
2121

2222
const { updatedCount } = await this.updateMany(
2323
{ completed: true }, // update

0 commit comments

Comments
 (0)