Skip to content

Commit

Permalink
Fix lint error.
Browse files Browse the repository at this point in the history
Signed-off-by: Dariy Miseldzhani <[email protected]>
  • Loading branch information
Dariy Miseldzhani committed Jan 31, 2025
1 parent ab08d29 commit b1f03ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/database-modules/database-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class DatabaseServer extends AbstractDatabaseServer {
const naturalCount = Math.floor(amount / DatabaseServer.DOCUMENTS_HANDLING_CHUNK_SIZE);
for (let i = 0; i < naturalCount; i++) {
const items = await new DataBaseHelper(DryRun).find({dryRunId}, limit);
for (let item of items) {
for (const item of items) {
item.savepoint = true;
}
await new DataBaseHelper(DryRun).update(items);
Expand Down

0 comments on commit b1f03ca

Please sign in to comment.