mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-08 20:29:05 +00:00
feat(server): CLIP search integration (#1939)
This commit is contained in:
@@ -11,7 +11,10 @@ export class AssetCore {
|
||||
|
||||
async save(asset: Partial<AssetEntity>) {
|
||||
const _asset = await this.assetRepository.save(asset);
|
||||
await this.jobRepository.queue({ name: JobName.SEARCH_INDEX_ASSET, data: { asset: _asset } });
|
||||
await this.jobRepository.queue({
|
||||
name: JobName.SEARCH_INDEX_ASSET,
|
||||
data: { ids: [_asset.id] },
|
||||
});
|
||||
return _asset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user