Skip to content

Commit cffd492

Browse files
authored
Ensure index attributes call removed while creating a document (#346)
1 parent 74b0990 commit cffd492

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/src/search-engine/repositories/indexable.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ export default abstract class Indexable {
5757
* @param {Document} document document to be created
5858
*/
5959
async createOrReplace(document: Document): Promise<void> {
60-
await this.ensureIndexAttributes()
6160
await this.index.addDocuments([document])
6261
}
6362

0 commit comments

Comments
 (0)