Skip to content

Commit

Permalink
fix: save new sync status
Browse files Browse the repository at this point in the history
  • Loading branch information
JGiter committed Nov 20, 2024
1 parent 119bb34 commit 77cc92e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/modules/did/did.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,8 @@ export class DIDService implements OnModuleInit, OnModuleDestroy {
updatedEntity
);
await queryRunner.manager.save(DidSyncStatusEntity, {
document: {
id: updated.id,
status: DidSyncStatus.Synced,
},
document: updated,
status: DidSyncStatus.Synced,
});
await queryRunner.commitTransaction();
this.logger.debug(`Document ${did} was synchronized`);
Expand Down

0 comments on commit 77cc92e

Please sign in to comment.