Skip to content

Commit 2c03649

Browse files
committed
Fix saving records with MongoDB storage
1 parent 3440698 commit 2c03649

File tree

1 file changed

+1
-1
lines changed
  • src/archivist/recorder/repositories/mongo

1 file changed

+1
-1
lines changed

src/archivist/recorder/repositories/mongo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default class MongoRepository extends RepositoryInterface {
135135

136136
async #toPersistence(record) {
137137
if (record.content === undefined || record.content === null) {
138-
await this.repository.loadRecordContent(record);
138+
await this.loadRecordContent(record);
139139
}
140140

141141
return DataMapper.toPersistence(record);

0 commit comments

Comments
 (0)