chore(server): change upsert signature for search repo (#8210)

* upsert embedding

* remove unused imports
This commit is contained in:
Mert
2024-03-23 14:37:06 -04:00
committed by GitHub
parent 787eebcf1e
commit b07a565e34
4 changed files with 4 additions and 21 deletions

View File

@@ -98,7 +98,7 @@ export class SmartInfoService {
await this.databaseRepository.wait(DatabaseLock.CLIPDimSize);
}
await this.repository.upsert({ assetId: asset.id }, clipEmbedding);
await this.repository.upsert(asset.id, clipEmbedding);
return JobStatus.SUCCESS;
}